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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.