Notaras
Notaras

Reputation: 717

Adjusting `Display_errors` in PHP.ini automatically adds deprecated directive `track_errors` resulting in PHP breaking

Modifying display_errors from Off to On in the PHP.ini config file will result in the deprecated track_errors directive being inserted automatically upon file save. This then results in the following error being reported in the PHP error file when any PHP script is run:

PHP Fatal error: Directive 'track_errors' is no longer available in PHP in Unknown on line 0.

PHP version is 8.3.6 and running on windows server.

Any ideas on how to be able to output PHP errors without breaking PHP entirely?

Upvotes: 1

Views: 104

Answers (0)

Related Questions