مشکل xdebug در ابونتو

php -
3 سال پیش توسط داود خانی مطرح شد
آفلاین
user-avatar
داود خانی ( 35500 تجربه )
3 سال پیش
تخصص : برنامه نویس لاراول و متخصص سئو

لینک کوتاه اشتراک گذاری

0

سلام خسته نباشید من xdebug رو نصب کردم ولی به مشکل خوردم.لطفا راهنمایی کنید.

Cannot load Xdebug - it was already loaded

   PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
        with Xdebug v2.6.1, Copyright (c) 2002-2018, by Derick Rethans
        with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
بهترین پاسخ
آفلاین
user-avatar
vahid Mohammadi
3 سال پیش

@davoodkhany

1) locate xdebug.ini | grep apache2 

2) verify there's only a single /etc/php5/apache2/conf.d/*-xdebug.ini file 

3) /etc/php5/apache2/conf.d/20-xdebug.ini is best one to keep, as this is 
    conf file package manager effects during updates 

4) remove others, like /etc/php5/apache2/conf.d/05-xdebug.ini 

5) if problem persists, try - php -i | grep xdebug.ini - which will give 
    you the cli conf file load order, then change out /cli/ for /apache2/ 
    in the resulting links 

6) if all else fails, you may also find what you're looking for in phpinfo 
آفلاین
user-avatar
vahid Mohammadi ( 37202 تجربه )
3 سال پیش

لینک کوتاه اشتراک گذاری

0

@davoodkhany

1) locate xdebug.ini | grep apache2 

2) verify there's only a single /etc/php5/apache2/conf.d/*-xdebug.ini file 

3) /etc/php5/apache2/conf.d/20-xdebug.ini is best one to keep, as this is 
    conf file package manager effects during updates 

4) remove others, like /etc/php5/apache2/conf.d/05-xdebug.ini 

5) if problem persists, try - php -i | grep xdebug.ini - which will give 
    you the cli conf file load order, then change out /cli/ for /apache2/ 
    in the resulting links 

6) if all else fails, you may also find what you're looking for in phpinfo 
برای ارسال پاسخ لازم است، ابتدا وارد سایت شوید.