Antoine wrote:

>Yes, I did restart the server,
>The server work but still send a file with php code in it
>The file has a  .php  extension, so I don't think this the problem
>the filename is "phpinfo.php"
>
>the line with Directory index is this one:
>DirectoryIndex index.html index.shtml index.htm index.php index.php3
>index.phtml
>
DirectoryIndex specifies files that should be served when no file is 
given in  the url, e.g www.mybox.com instead of e.g. 
www.mybox.com/phpinfo.php.

Your AddType and LoadModule lines for php look right to me. Have you got 
more than one httpd.conf file? On RH 7.2 it would normally be in 
/etc/httpd/conf but according t the httpd.conf you attached, this should 
be located in /usr/local/apache/conf.

One test I do to see if apache is looking at the httpd.conf file I think 
it should be is to put a line of rubbish in the file. Restart apache and 
check that it complains about the rubbish line.

HTH
Chris


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to