Moon-Man.net Posted July 17, 2006 Share Posted July 17, 2006 Hello,I have 2 web servers, with diferent versions of PHP. one 4.2 and another later.the 4.2 one shows what line number the error is on when i leave off a ";" or something, but the newer version does not.Can someone please explain how i can turn on this usefull feature?Cheers,Nathan Quote Link to comment https://forums.phpfreaks.com/topic/14892-php-error-display/ Share on other sites More sharing options...
pixy Posted July 17, 2006 Share Posted July 17, 2006 Adjust the php.ini file. Quote Link to comment https://forums.phpfreaks.com/topic/14892-php-error-display/#findComment-59679 Share on other sites More sharing options...
trq Posted July 17, 2006 Share Posted July 17, 2006 Does the later show any errors? You can switch this option on / off with error_reporting, however, the line numbers in error reporting are unreliable. Quote Link to comment https://forums.phpfreaks.com/topic/14892-php-error-display/#findComment-59682 Share on other sites More sharing options...
Moon-Man.net Posted July 17, 2006 Author Share Posted July 17, 2006 Thats kool, i dont mind. On the Old server it gives the Next line if i leave off a ";"What should i set it to? Quote Link to comment https://forums.phpfreaks.com/topic/14892-php-error-display/#findComment-59688 Share on other sites More sharing options...
trq Posted July 17, 2006 Share Posted July 17, 2006 Well for developement I have mine set to E_ALL. Quote Link to comment https://forums.phpfreaks.com/topic/14892-php-error-display/#findComment-59692 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.