Posted: Fri Sep 07, 2007 12:33 pm
This is all I have in my .htacess file:
The first three lines are used to redirect any website.com requests to http://www.website.com. Nothing that should effect PHP error reporting. I have infact tried removing everything from the .htaccess file and error reporting still does not work.
My whole problem is that everything worked fine until I upgraded to PHP 5.2.2. This is really starting to get to me becasue I can not find anyway that PHP should NOT be showing me my errors. It used to work.
I have tried re-installing PHP, shutting down the server and rebotting and double checking my php.ini file.
Still no success.
Code: Select all
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.website.com$
RewriteRule ^(.*)$ http://www.website.com/$1 [R=301]
ErrorDocument 404 http://www.website.com/error.phpMy whole problem is that everything worked fine until I upgraded to PHP 5.2.2. This is really starting to get to me becasue I can not find anyway that PHP should NOT be showing me my errors. It used to work.
I have tried re-installing PHP, shutting down the server and rebotting and double checking my php.ini file.
Still no success.