Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 4688  / 1 Year ago, sat, december 31, 2022, 9:58:23

I'm running Oneiric as a LAMP development server, and have xdebug installed. It works fine, but since I set up my email so that root mails are forwarded to my gmail, I keep getting the following:



subject:



Cron <root@pingu> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null ; -delete


mail body



PHP Warning:  Module 'xdebug' already loaded in Unknown on line 0


Every 30 minutes. The cron job is in /etc/cron.d/php5 - it looks like it's to ensure sessions are automatically cleaned.



The cron job looks like it's needed - and is running a PHP script - but why is it complaining about xdebug, and how do I fix it?


More From » php

 Answers
1

Check your php.ini settings; if you have a separate xdebug.ini file under /etc/php5/conf.d containing a zend_extension=*.xdebug.so line, it's possible that it already exists in the main cli/php.ini file too, so when it tries to load the second config file it'll produe the already loaded error message.


[#41530] Sunday, January 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionpromoti

Total Points: 14
Total Questions: 112
Total Answers: 113

Location: Tonga
Member since Tue, Nov 30, 2021
2 Years ago
;