LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 12-05-2003, 09:09 PM   #1
gjmwalsh
Member
 
Registered: Jul 2003
Location: Victoria, British Columbia
Distribution: Mandriva 2010 (cooker) with Bind9, Sendmail, Postgresql and Apache2 servers
Posts: 62

Rep: Reputation: 15
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.
 
Old 12-05-2003, 09:22 PM   #2
ter_roshak
Member
 
Registered: May 2001
Location: Everett, WA
Distribution: Gentoo, RedHat
Posts: 102

Rep: Reputation: 15
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
 
Old 12-06-2003, 02:03 AM   #3
gjmwalsh
Member
 
Registered: Jul 2003
Location: Victoria, British Columbia
Distribution: Mandriva 2010 (cooker) with Bind9, Sendmail, Postgresql and Apache2 servers
Posts: 62

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP can't execute shell command ! rome Programming 3 11-15-2005 01:46 PM
PHP can't execute shell command ! rome Programming 1 11-15-2005 10:12 AM
How to execute a command line in a shell script orgazmo Programming 5 05-09-2005 10:16 AM
Using FTP to execute command line commands remotely steve_2010 Solaris / OpenSolaris 4 02-13-2004 09:44 AM
Can't execute ifconfig at command line jhsuan Linux - Newbie 3 08-30-2002 09:57 PM


All times are GMT -5. The time now is 10:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration