– Enable PHP errors
– Turn on PHP errors
– PHP error reporting
Place this code in your PHP script and it will report all the PHP errors.
1 2 3 4 5 |
<?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(-1); ?> |
For more information: http://php.net/manual/en/function.error-reporting.php
Leave a Reply