[BlueOnyx:02917] Re: No PHP errors
Ken Marcus - Precision Web Hosting, Inc
kenlists at precisionweb.net
Thu Nov 19 20:01:07 -05 2009
----- Original Message -----
From: David Booth
Php info page
http://www.vibrantinks.co.uk/phpinfo.php
PHP test page which should create an error
http://www.vibrantinks.co.uk/test.php
<?
echo “I should create an error;
?>
<<
Check the include file for the site and see if there is anything that will
override the error directive there.
e.g.
/etc/httpd/conf/vhosts/sitexx.include
Check for a .htaccess on the site in the site's web or root directories, to
see if there is anything that will override the error directive there.
And add this to the beginning of your php file
error_reporting(E_ALL ^ E_USER_WARNING ^ E_NOTICE);
Something like
<?php
error_reporting(E_ALL ^ E_USER_WARNING ^ E_NOTICE);
echo "This is fine.";
echo “I should create an error;
?>
----
Ken Marcus
Ecommerce Web Hosting by
Precision Web Hosting, Inc.
http://www.precisionweb.net
More information about the Blueonyx
mailing list