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? Quote 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. Quote 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? Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/25451-huge-php-notice-files/#findComment-118579 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.