[xdebug-general] Cannot load Xdebug - extension already loaded

From: Tâm Trịnh <contact.tamsoft[@]gmail.com>
Date: Sat, 25 Jun 2016 10:52:44 +0700

I installed xdebug as instructed https://xdebug.org/wizard.php , after
restarting the web service error.
[root[@]MyServer ~]# service php-fpm restart
Stopping php-fpm: [ OK ]
Starting php-fpm: Cannot load Xdebug - extension already loaded

*Log of apache:*
[Sat Jun 25 17:16:15 2016] [notice] Apache/2.2.22 (Unix) DAV/2 PHP/5.6.22
SVN/1.6.11 configured -- resuming normal operations
Failed loading /usr/lib64/php-zts/modules/xdebug.so:
 /usr/lib64/php-zts/modules/xdebug.so: undefined symbol: sapi_globals

======================
*Info server:*
[root[@]MyServer ~]# uname -a
Linux MyServer 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux
------------------------------------------------------------
[root[@]MyServer ~]# php -v
Cannot load Xdebug - extension already loaded
PHP 5.6.22 (cli) (built: May 26 2016 15:44:55)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
------------------------------------------------------------
Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: no
Zend Server: no
PHP Version: 5.6.22
Zend API nr: 220131226
PHP API nr: 20131226
Debug Build: no
Thread Safe Build: yes
Configuration File Path: /etc
Configuration File: /etc/php.ini
Extensions directory: /usr/lib64/php-zts/modules

Looking forward to your support.
Received on Sat Jun 25 2016 - 04:52:46 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST