Jump to content

Huge php notice files


Mateobus

Recommended Posts

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

See php.ini settings:

http://us2.php.net/manual/en/ref.errorfunc.php#ini.error-reporting

http://us2.php.net/manual/en/ref.errorfunc.php#ini.display-errors

within script:

http://us2.php.net/manual/en/function.error-reporting.php

http://us2.php.net/manual/en/function.ini-set.php

Try 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.