-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error_reporting level cannot be changed in the fpm image #1557
Comments
Looks like these notices are not |
Hi @LaurentGoderre, thanks for the suggestion! I tried turning off everything with
I suppose error_reporting is overridden by something somewhere? I checked php-fpm config files but I found nothing interesting there. |
I raised |
WordPress does modify https://github.com/search?q=repo%3AWordPress%2FWordPress%20error_reporting&type=code (perhaps that plugin / some other plugin does also?) That being said, this isn't really an issue with the PHP image we maintain. 😅 |
Hi,
I'm very happily using [email protected] image for hosting a Wordpress website.
An issue is my logs are polluted with E_NOTICE messages that I'd like to turn off. This is what they look like:
I made a child image with a Dockerfile like this:
error_reporting seems to be correctly set as phpinfo() outputs error_reporting = 22519, which is equal to
E_ALL \& ~E_NOTICE \& ~E_DEPRECATED \& ~E_STRICT
when checked in the shell. Nevertheless I still get the messages. Any idea why?PHP version is 8.4.1, host is Ubuntu 22.04, Docker engine is 27.4.0.
The text was updated successfully, but these errors were encountered: