View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002299 | Xdebug | Uncategorized | public | 2024-10-20 00:20 | 2024-10-20 00:20 |
Reporter | davidhbrown | Assigned To | |||
Priority | low | Severity | trivial | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Apache/2.4.58 ; PHP 8.3.6 | OS | Ubuntu | OS Version | 24.04.01 LTS |
Product Version | 3.2.0 | ||||
Summary | 0002299: Apache OPTIONS dummy connection spams error.log with "Cannot load Xdebug - it was already loaded" | ||||
Description |
The Apache web server makes an internal dummy connection to wake up child processes. Typically several (6-8) such calls are made at 1 second intervals as seen in the access.log: ::1 - - [19/Oct/2024:19:37:24 -0400] "OPTIONS HTTP/1.0" 200 126 "-" "Apache/2.4.58 (Ubuntu) OpenSSL/3.0.13 (internal dummy connection)" Each request causes "Cannot load Xdebug - it was already loaded" to appear 8 times in the error.log. These lines do not include any additional information at all such as the usual timestamp seen with PHP's error log messages. These appear whether xdebug.mode=debug or xdebug.mode=off: Cannot load Xdebug - it was already loaded *** Very surprising: This behavior persists even if I comment out every line in /etc/php/8.3/mods-available/xdebug.ini, including: ;zend_extension=xdebug.so such that PHP itself does not load Xdebug It is only a minor annoyance to have these lines suddenly push what I was looking at off the screen, but I thought I should mention it. | ||||
Steps To Reproduce | In separate SSH connections, I used the commands: tail -f /var/log/apache2/error.log ...and loaded arbitrary pages from the site in a browser until Apache needed to do its thing and the messages appeared. | ||||
Additional Information | All of apache, php, xdebug were installed using apt. With zend_extension=xdebug.so in xdebug.ini: From the shell (php -v): From a browser displaying output of phpinfo(): Unsurprisingly, "with Xdebug..." line is not output when xdebug.ini has commented out the extension, i.e., ;zend_extension=xdebug.so | ||||
Tags | apache2, php8.3 | ||||
Operating System | Ubuntu | ||||
PHP Version | 8.3.5-8.3.9 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-20 00:20 | davidhbrown | New Issue | |
2024-10-20 00:20 | davidhbrown | Tag Attached: apache2 | |
2024-10-20 00:20 | davidhbrown | Tag Attached: php8.3 |