Re: CGI vs Apache module
| From: | Richard Lynch | Date: | Tue, 14 Dec 2004 23:09:11 +0000 |
| Subject: | Re: CGI vs Apache module | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204360@lists.php.net to get a copy of this message | ||
Sandy Keathley wrote:
> We have a Redhat server, which only allows PHP 4.3.2 to be
> installed by RPM. I manually compiled and installed 4.3.9 using
> the configure params as the RPM install. It compiled the CGI
> version, which seems to run, but Apache (2.0) doesn't recognize it.
> phpinfo() still reports 4.3.2.
>
> Any ideas accepted on making 4.3.9 the default version!
Unless you actually *WANT* PHP as CGI, go back and re-compile as Module.
Right before you do "make install" you'll need to RPM un-install PHP, so
you don't confuse things.
You'll need to re-start Apache for sure, and if that doesn't work, you may
need to change the httpd.conf settings by hand.
I don't know where RPM-makers hide your httpd.conf file, but you should be
able to find it and edit it to find the PHP parts and fix them up.
--
Like Music?
http://l-i-e.com/artists.htm