Mateobus Posted October 29, 2006 Share Posted October 29, 2006 hello I have recently switched to a dedicated server. Since then, My php scripts have outputted huge multi gigabyte files with php notices and errors such as undefined var errors. Is there a way to turn this off so that these files stop eating up my server space? Maybe a php.ini line or something? Link to comment https://forums.phpfreaks.com/topic/25451-huge-php-notice-files/ Share on other sites More sharing options...
toplay Posted October 29, 2006 Share Posted October 29, 2006 See php.ini settings:http://us2.php.net/manual/en/ref.errorfunc.php#ini.error-reportinghttp://us2.php.net/manual/en/ref.errorfunc.php#ini.display-errorswithin script:http://us2.php.net/manual/en/function.error-reporting.phphttp://us2.php.net/manual/en/function.ini-set.phpTry and look at what the notices are and fix it in the code because some of the notices might indicates serious flaws in code/logic. Link to comment https://forums.phpfreaks.com/topic/25451-huge-php-notice-files/#findComment-116142 Share on other sites More sharing options...
Mateobus Posted November 1, 2006 Author Share Posted November 1, 2006 So if I didnt want to log any errors, the line would be log_errors = 0, correct? Link to comment https://forums.phpfreaks.com/topic/25451-huge-php-notice-files/#findComment-118118 Share on other sites More sharing options...
wildteen88 Posted November 2, 2006 Share Posted November 2, 2006 Yes. However use Off rather than 0 Link to comment https://forums.phpfreaks.com/topic/25451-huge-php-notice-files/#findComment-118579 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.