Jump to content

Archived

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

Mateobus

Huge php notice files

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?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

×

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.