Apache2 + PHP4

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I developed and maintained a site for someone using Apache 1.3 and PHP  
4.0.3 and used to be able to reference a page without explicitly  
specifying the .php extension. ie. http://www.url.com/adminpage would  
open adminpage.php. However since I've upgraded to Apache 2.0.55 and PHP  
4.4.1 this no longer works. Is this something that can be configured in  
my httpd.conf or has this feature been removed from Apache 2? I'm  
running the Windows versions btw.


Re: Apache2 + PHP4

Quoted text here. Click to load it

Go read up on content negotiation in Apache.


Re: Apache2 + PHP4

not sure about windows platform, but you have to enable the php4 module in  
On Debian linux, you can find the php4.load in /etc/apache2/mods-available

There you also have the the helper scripts a2enmod

a2enmod php4

Perhaps that's the issue.

Quoted text here. Click to load it

Re: Apache2 + PHP4

Lisa Pearlson wrote:
Quoted text here. Click to load it

Okay, I found the solution myself by scouring through my httpd.conf. I  
simply needed to add the MultiViews option. Oddly I never had to  
explicitly declare it previously with Apache 1.3.


Site Timeline