Hello all
I have just tried to install latest version of xdebug but it was not successful. First I tried to install it with pecl as suggested
$ sudo su
$ pecl install xdebug-beta
it installed then I edit the php.ini file (/etc/php5/apache2/php.ini) and add there
extension = xdebug.so
restarted the apache and there was no xdebug module, $ php -m also did not show it
changing extension = xdebug.so to full path to xdebug.so, or changing 'extension' to 'zend_extension' or 'zend_extension_ts' also did not help.
I uninstalled xdebug with pecl unistall xdebug command and tried to install it from source code:
$ cd /tmp
$ wget "http://xdebug.org/link.php?url=xdebug200rc4"
$ sudo su
# phpize
# ./configure --enable-xdebug
# make
# cp modules/xdebug.so /usr/lib/php5/20060613+lfs/xdebug.so
then again I tried to change php.ini in different ways. I make sure that it is corect php.ini file by checking the phpinfo() output, also the path /usr/lib/php5/20060613+lfs/ is correct because it is in this output.
Finally I turn on apache verbose logging, and I saw this:
[Thu Jun 21 20:44:38 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-10 configured -- resuming normal operations
[Thu Jun 21 20:44:38 2007] [info] Server built: Mar 27 2007 15:06:55
[Thu Jun 21 20:44:38 2007] [debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)
Failed loading /usr/lib/php5/20060613+lfs/xdebug.so: /usr/lib/php5/20060613+lfs/xdebug.so: undefined symbol: core_globals_id
Failed loading /usr/lib/php5/20060613+lfs/xdebug.so: /usr/lib/php5/20060613+lfs/xdebug.so: undefined symbol: core_globals_id
Failed loading /usr/lib/php5/20060613+lfs/xdebug.so: /usr/lib/php5/20060613+lfs/xdebug.so: undefined symbol: core_globals_id
Failed loading /usr/lib/php5/20060613+lfs/xdebug.so: /usr/lib/php5/20060613+lfs/xdebug.so: undefined symbol: core_globals_id
Failed loading /usr/lib/php5/20060613+lfs/xdebug.so: /usr/lib/php5/20060613+lfs/xdebug.so: undefined symbol: core_globals_id
[Thu Jun 21 20:45:38 2007] [info] removed PID file /var/run/apache2.pid (pid=8335)
[Thu Jun 21 20:45:38 2007] [notice] caught SIGTERM, shutting down
Failed loading /usr/lib/php5/20060613+lfs/xdebug.so: /usr/lib/php5/20060613+lfs/xdebug.so: undefined symbol: core_globals_id
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/xdebug.so' - /usr/lib/php5/20060613+lfs/xdebug.so: undefined symbol: core_globals_id in Unknown on line 0
[Thu Jun 21 20:45:49 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-10 configured -- resuming normal operations
[Thu Jun 21 20:45:49 2007] [info] Server built: Mar 27 2007 15:06:55
[Thu Jun 21 20:45:49 2007] [debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)
________
ps: kernel is 2.6.18-4-686, Debian testing, Apache/2.2.3 (Debian) PHP/5.2.0-10
As for Ubuntu 7.04: I installed xdebug successfully with pecl and there was no errors in apache log file but there is no info about xdebug in phpinfo() output or in php -m output...
What I am doing wrong? Please help
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
Received on Thu Jun 21 2007 - 19:17:12 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST