Bug #79070 [NEW]: PHP suddenly stops logging errors until Apache2 is restarted

From: Date: Mon, 06 Jan 2020 12:07:52 +0000
Subject: Bug #79070 [NEW]: PHP suddenly stops logging errors until Apache2 is restarted
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224731@lists.php.net to get a copy of this message
From: solusvm at web dot de Operating system: Debian 10.2 PHP version: 7.4.1 Package: Apache2 related Bug Type: Bug Bug description:PHP suddenly stops logging errors until Apache2 is restarted Description: ------------ I'm using PHP 7.4.1 with Apache2 (libapache2-mod-php7.4, Version: 7.4.1-1+0~20191218.8+debian10~1.gbp21c50e) on my Debian 10.2 system and I'm facing an issue since about December 23. Because I upgraded from PHP 7.4.0 to 7.4.1 on December 19 and I never experienced this issue before, I guess this issue/bug is related to PHP 7.4.1 or the corresponding Apache2 PHP module. The logging works fine but after a few days it suddenly stops to log PHP errors, warnings etc. in my "error.log" file. Apache2 logging still works, but just the PHP errors aren't logged anymore. I'm also getting no error or exception when calling the "error_log" function manually and I can't find anything in other logs that could explain this. When I restart the Apache2 server (and thus also the PHP module), the logging starts working but after a few days it'll stop logging PHP errors again. I have these modules installed: bz2, cli, common, curl, gd, intl, json, mbstring, mysql, opcache, readline, soap, xml, xsl, zip, geoip and I changed nothing in the last months. I just upgraded from PHP 7.4.0 to 7.4.1 on December 19 and then this issue started to happen. So it looks like it could be the new PHP version but I need the logging to work without suddenly stopping... -- Edit bug report at https://bugs.php.net/bug.php?id=79070&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79070&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79070&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79070&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79070&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79070&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79070&r=support Expected behavior: https://bugs.php.net/fix.php?id=79070&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79070&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79070&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79070&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79070&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79070&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79070&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79070&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79070&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79070&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79070&r=mysqlcfg

« previous php.bugs (#224731) next »