'ello all.
I am trying to get PHP5 to run as CGI and PHP4 to run as an Apache module side by side.
I have downloaded and installed php5 in /usr/local/php5
I am a bit confused as to how to tell Apache to serve .php5 files.
I know I need to tell Apache to load the php5 engine and to server .php5 files via the php5 engine, but I'm not sure what to put in my httpd.conf
I had it loading php5, but I jacked up my conf file somehow and had to replace it.
Here are my questions:
How can I uninstall the php5 I installed? Can I just wipe the /usr/local/php5 directory?
To make PHP run as a CGI binary, is the only thing I do is add --enable-force-cgi-redirect with the configure command?
What do I need to add to httpd.conf to load php5 and tell apache to serve .php5 files?
I apologize, but I am new to this whole running PHP side by side and PHP CGI thing. :o
If there is a site that already explains all of this, please share the links!
TIA!
🙂
edit
Fedora 5, Apache 1.3, PHP 4.4.5 running