J Fazenda wrote: > Hi Scott, > > Many thanks for your help. > > 1 - I do see several blocks <IfDefine>...</IfDefine> in httpd.conf but I > only got: > root 3353 0.0 0.3 1728 564 pts/1 s 15:48 0:00 fgrep httpd > when I did > ps auxww | fgrep httpd
Start Apache first. :) That command will show you all the running Apache processes, their arguments, and a bunch of other information about them. > 4 - It still doesn't work. > I'm testing with following index.html. Can you suggest any other test ? Yeah, don't name your test index.html. Use index.php. PHP will process all the filetypes it has been told to. You should find something like this in your configuration file: <IfDefine HAVE_PHP4> AddType application/x-httpd-php .php </IfDefine> (after the LoadModule/AddModule stuff.) If you want that to be in the default list of things to check in a new directory, make sure index.php is in your DirectoryIndex line. You could have an equivalent AddType line for .html, but it would be dumb. PHP would process all HTML files, which would slow things down unnecessarily. -- Scott Lamb -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php