Perad Posted January 14, 2008 Share Posted January 14, 2008 My client has error checking off and no access to the logs. He doesn't have permission to change the php.ini. I need to work out what is going on with a script I am trying to upload. Is there some function in php that can switch full error checking on for this script only? Link to comment https://forums.phpfreaks.com/topic/85998-solved-override-default-phpini-to-allow-error-checking/ Share on other sites More sharing options...
pocobueno1388 Posted January 14, 2008 Share Posted January 14, 2008 At the top of the script, try putting this. error_reporting(E_ALL); Link to comment https://forums.phpfreaks.com/topic/85998-solved-override-default-phpini-to-allow-error-checking/#findComment-439158 Share on other sites More sharing options...
Perad Posted January 14, 2008 Author Share Posted January 14, 2008 That doesn't do anything. I can view the php.ini file. Can I override this? display_errors = Off Link to comment https://forums.phpfreaks.com/topic/85998-solved-override-default-phpini-to-allow-error-checking/#findComment-439160 Share on other sites More sharing options...
revraz Posted January 14, 2008 Share Posted January 14, 2008 Try ini_set http://us2.php.net/ini_set Link to comment https://forums.phpfreaks.com/topic/85998-solved-override-default-phpini-to-allow-error-checking/#findComment-439161 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.