Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-05-2003, 09:09 PM
|
#1
|
Member
Registered: Jul 2003
Location: Victoria, British Columbia
Distribution: Mandriva 2010 (cooker) with Bind9, Sendmail, Postgresql and Apache2 servers
Posts: 63
Rep:
|
PHP execute at command line
I have no problem running php with a browser, but I cannot find PHP as an executable, nor can the 9.2 Mandrake release. If Apache can run php script, the stand-alone executable must be lurking somewhere, or does it require special attention above and beyond the installation (which was done with Apache2 and postgresql?
ie: php -h at the command line yields nothing.
|
|
|
12-05-2003, 09:22 PM
|
#2
|
Member
Registered: May 2001
Location: Everett, WA
Distribution: Gentoo, RedHat
Posts: 102
Rep:
|
No, they are not both installed by default, and depending on your version, check out the following link:
http://us2.php.net/manual/en/features.commandline.php
Josh
|
|
|
12-06-2003, 02:03 AM
|
#3
|
Member
Registered: Jul 2003
Location: Victoria, British Columbia
Distribution: Mandriva 2010 (cooker) with Bind9, Sendmail, Postgresql and Apache2 servers
Posts: 63
Original Poster
Rep:
|
Yeah, thanks Josh.
I have actually added php-cgi, php432-devel, php-cli and php-pear now and everything is coming up the way I would expect. I just 'assumed' there was a stand-alone php, and when an rpm -qa couldn't find one, I didn't have the chance at that time to work through all the other php- options.
Oh well, learning never stops, but thanks for caring enough to comment on this.
George
|
|
|
All times are GMT -5. The time now is 04:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|