Just after some help with a new installation of PHP.
I've setup a new Centos 6.2 server with apache PHP and am having trouble getting errors to show. I've copied all the website application files from a different as well as the folder structure and everything in /etc/httpd/.
When I access my site, I get a 500 error, or a blank page. The logs are showing nothing at all, apart form logging the 500 error:
[24/Feb/2012:17:33:25 +1100] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20100101 Firefox/6.0.1" 405 229 7176
My htaccess looks like this: ErrorDocument 404 /error.php
php_flag display_errors on
php_flag display_startup_errors on
php_flag file_uploads on
php_value error_reporting 6143
php_value max_input_time 60
php_value post_max_size 8M
php_value upload_max_filesize 2M
~
So errors are turned on...
Start of PHP file has:
error_reporting(-1);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
and php.ini has error_reporting set to E_ALL.
... yet I am getting errors on the screen for some things (such as not closing a string), but my issues are a bit bigger than i think and i have no idea where to start debugging!
So i guess my question is- how do I start debugging a 500 server error?
200status code. - Bart