httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DW <xfs...@hotmail.com>
Subject [users@httpd] Re: PHP Not Working
Date Sat, 11 Jun 2011 02:23:59 GMT
Xavier Lopez wrote:
> It serves all html files, but not php. 


Have you got something loike this in your configurations:

<IfModule dir_module>
    DirectoryIndex index.php index.pl index.cgi index.asp index.shtml
index.html index.htm \
                   default.php default.pl default.cgi default.asp
default.shtml default.html default.htm \
                   home.php home.pl home.cgi home.asp home.shtml
home.html home.htm
</IfModule>

The above looks for php first then pl then etc etc.

Worth a try.  It works on mine [2.2.19]





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message