راکت
حل شده

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

1 پاسخ

سلام خسته نباشید من 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
ثبت پرسش جدید

پاسخ‌ها

1
vahid Mohammadi
vahid Mohammadi
@viva.mohammadi
بهترین پاسخ

@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 

شاید پاسخ شما همین‌جا باشد

برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام