Quote:
Originally Posted by anomie
Please post again after you do check the error log. (/var/log/httpd/error_log, by default.) If the log is not helpful, then set LogLevel info in httpd.conf, restart httpd, and try again for better error details.
Are you using open_basedir with PHP?
How did you test PHP? With a phpinfo() page?
|
[root@dhbb01 httpd]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)
I tested php with the following:
[root@dhbb01 html]# cat info.php
<?php
phpinfo();
?>
PHP Version 5.3.3
System Linux dhbb01 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64
Build Date Jan 21 2011 09:39:37
It does work and it displays the php version.
This is from my /var/www/httpd/error_log (I changed the logging to debug)...
[Fri May 20 18:41:55 2011] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Fri May 20 18:41:55 2011] [info] Server built: Apr 9 2011 08:58:28
[Fri May 20 18:41:55 2011] [debug] prefork.c(1018): AcceptMutex: sysvsem (default: sysvsem)
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 6580 for worker proxy:reverse
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 6580 for (*)
[Fri May 20 18:42:10 2011] [notice] child pid 6575 exit signal Segmentation fault (11)
[Fri May 20 18:42:12 2011] [notice] child pid 6573 exit signal Segmentation fault (11)
[Fri May 20 18:41:55 2011] [info] Server built: Apr 9 2011 08:58:28
[Fri May 20 18:41:55 2011] [debug] prefork.c(1018): AcceptMutex: sysvsem (default: sysvsem)
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 6580 for worker proxy:reverse
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 6580 for (*)
[Fri May 20 18:42:10 2011] [notice] child pid 6575 exit signal Segmentation fault (11)
[Fri May 20 18:42:12 2011] [notice] child pid 6573 exit signal Segmentation fault (11)
[Fri May 20 18:43:04 2011] [error] [client 199.92.2.xx] Directory index forbidden by Options directive: /var/www/html/
[Fri May 20 18:43:04 2011] [error] [client 199.92.2.xx] File does not exist: /var/www/html/favicon.ico
the log above is from the hostname (Red Hat Enterprise Linux test page)... the forbidden is because I do not have an index.html (I am pretty sure)...