sclorg / s2i-php-container

PHP container images based on Red Hat Software Collections and intended for OpenShift and general usage, that provide a platform for building and running PHP applications. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
107 stars 331 forks source link

The track_errors ini directive has been removed in PHP 8.0. #458

Open xrow opened 1 month ago

xrow commented 1 month ago

The track_errors ini directive has been removed in PHP 8.0. This means that php_errormsg is no longer available.

https://www.php.net/manual/en/migration80.php

I see unneded log output and error, when you still have to set to ON:

2024-07-23T12:04:44.275489753Z [23-Jul-2024 14:04:44] NOTICE: PHP message: PHP Fatal error:  Directive 'track_errors' is no longer available in PHP in Unknown on line 0
2024-07-23T12:04:44.275542281Z <br />
2024-07-23T12:04:44.275547959Z <b>Fatal error</b>:  Directive 'track_errors' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br />

If this pull gets accepted will this fix https://catalog.redhat.com/software/containers/ubi9/php-82/657b0176999f2e3662c8159b in the future?

hhorak commented 1 month ago

@remicollet can you, please, look at this?