You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by DW <xf...@hotmail.com> on 2011/06/11 04:23:59 UTC

[users@httpd] Re: PHP Not Working

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