Jump to content

Recommended Posts

Hello everyone,

 

I disabled the PHP error handling global PHP option. After turning it back on (recompiling apache) etc, my error messages will only show up if i explicitly set the erroring reporting in the page. Otherwise it seems like the setting isn't taking effect. Does anyone have any tips or areas I may have missed in the PHP config that I left the error reporting turned off elsewhere?

Link to comment
https://forums.phpfreaks.com/topic/91278-re-enabling-php-error-levels/
Share on other sites

Make sure php is reading the php.ini you are editing by running the phpinfo() function.

 

Also ensure that the line your are editing within the the php.ini does not start with a #. Lines that start with # are considered as comments.

 

For errors to be reported during runtime error_reporting should be set to atleast E_ALL and display_errors should be set to on. Save the php.ini and restart Apache for changes to take affect

  • 2 weeks later...
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.