StormTheGates Posted April 13, 2007 Share Posted April 13, 2007 I can not for the life of me get my php to report any erros. Ive tried editing the .ini, and manually setting on run time. Here is a test script I whipped up to make it throw an error to see if it reports: <?php error_reporting(8191); echo "text" ?> Now it should obviously say compile error for the lack of a ;. But it dosnt. Any ideas why? Link to comment https://forums.phpfreaks.com/topic/46893-solved-php-not-reporting-errors/ Share on other sites More sharing options...
paul2463 Posted April 13, 2007 Share Posted April 13, 2007 have you tried error_reporting(E_ALL); Link to comment https://forums.phpfreaks.com/topic/46893-solved-php-not-reporting-errors/#findComment-228620 Share on other sites More sharing options...
StormTheGates Posted April 13, 2007 Author Share Posted April 13, 2007 Yes I have, and no it dosnt work. Link to comment https://forums.phpfreaks.com/topic/46893-solved-php-not-reporting-errors/#findComment-228626 Share on other sites More sharing options...
Guest prozente Posted April 13, 2007 Share Posted April 13, 2007 Check you php.ini file, look for display_errors Link to comment https://forums.phpfreaks.com/topic/46893-solved-php-not-reporting-errors/#findComment-228785 Share on other sites More sharing options...
Barand Posted April 13, 2007 Share Posted April 13, 2007 I can not for the life of me get my php to report any erros. Ive tried editing the .ini, and manually setting on run time. Here is a test script I whipped up to make it throw an error to see if it reports: <?php error_reporting(8191); echo "text" ?> Now it should obviously say compile error for the lack of a ;. But it dosnt. Any ideas why? The final ";" before the "?>" is implied therefore not an error Link to comment https://forums.phpfreaks.com/topic/46893-solved-php-not-reporting-errors/#findComment-228846 Share on other sites More sharing options...
StormTheGates Posted April 14, 2007 Author Share Posted April 14, 2007 Check you php.ini file, look for display_errors That solved my problems . Thanks man. Link to comment https://forums.phpfreaks.com/topic/46893-solved-php-not-reporting-errors/#findComment-229265 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.