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 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. 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. 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? 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. Link to comment https://forums.phpfreaks.com/topic/14892-php-error-display/#findComment-59692 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.