Joomla not logging PHP errors to file with system default error_reporting

Joomla Asked by Sandro Antonucci on December 11, 2021

I’m using Joomla 3.9 with APACHE + PHP 7.0 with these settings

php_flag[display_errors] = On
php_flag[display_startup_errors] = On
php_value[error_reporting] = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE
php_flag[html_errors] = On
php_admin_flag[ignore_repeated_errors] = Off
php_flag[log_errors] = On
php_admin_flag[log_errors] = On
php_value[log_errors_max_len] = 1024

When Joomla error_reporting is set to development, errors are shown on the site and also logged in the error log file. When error_reporting is set to default it should still do the same since according to the documentation"

“System Default” leaves the level of PHP error reporting to that set up in the server (usually in the php.ini file).

However nothing is shown OR logged. If I create a test.php on the root of site (so that it bypasses the Joomla core) with an error — that error is logged so the PHP settings are working correctly.

Is Joomla doing something else or could this be a bug?

Add your own answers!

Related Questions

Add field to menu settings to output open graph image

1  Asked on December 30, 2021 by mano-meter


Edited css not updated in XAMPP

1  Asked on December 9, 2021 by advait-varma


Update from 3.9.x to 4.x

2  Asked on November 27, 2021 by lovntola


Other files overriding my template css with bootstrap?

1  Asked on November 19, 2021 by matthiasdunkel


Javascript accordion with anchors for joomla

1  Asked on November 5, 2021 by fruit_alchemist


Cannot Connect To MSSQL Server

3  Asked on September 5, 2021 by jamesmandatory


PlotALOT RSForm Query showing only one result

1  Asked on September 5, 2021 by gart


Getting module parameters in AJAX call using module id

1  Asked on September 5, 2021 by user1616338


Pop up AcyMailing subscription form

1  Asked on September 5, 2021 by ygiorgos


Override 3d party extension plugin method

0  Asked on September 5, 2021 by dmitry-zar


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP