Re: no /usr/local/bin/php or /usr/bin/php in my system, how can i make this so ? thank you
| From: | Brian Clark | Date: | Mon, 07 Aug 2000 07:24:41 +0000 |
| Subject: | Re: no /usr/local/bin/php or /usr/bin/php in my system, how can i make this so ? thank you | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10417@lists.php.net to get a copy of this message | ||
Hitomi Àû wrote:
Hello, I am now running a php program which i need a cgi-binary of php on my system , in order to run that php program periodically, but there is no /usr/local/bin/php or /usr/bin/php in my system, how can i make this so ? thank you my system is redhat 6.2 and apache 1.3.12 and php 3.0.15Did you install PHP as an Apache module? If you did then you have no PHP CGI binary. Make sure by running: which php In your shell. If you get nothing, you need a separate PHP installation in order to run PHP as a CGI. Grab the latest source, and build it again without apxs support, and it will install a CGI binary. (Ie. ./configure --prefix=/usr/local) Then you should probably see a php binary in /usr/local/bin Brian