View Issue Details

IDProjectCategoryView StatusLast Update
0000120XdebugInstallationpublic2005-03-10 22:16
Reportersylvain Assigned Toderick  
Status resolvedResolutionsuspended 
Summary0000120: Xdebug module doesn't load in apache on debian

My xdebug module stopped working on debian sarge after an apache update.

I've installed xdebug from the source, following the README file.

and added the directive in php.ini


It was working fine enough.

Now I've no more xdebug detail in the phpinfo(). I haven't found yet any error log message interesting about xdebug loading failure.

I've tryed to recompile the xdebug module after a «make distclean», no success either.

Additional Information

PHP Version 4.3.10-8

System Linux bio 2.4.27-2-686 #1 Thu Jan 20 11:10:41 JST 2005 i686
Build Date Feb 24 2005 16:24:57
Configure Command '../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-config-file-path=/etc/php4/apache' '--enable-memory-limit' '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static' '--with-pic' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-exec-dir=/usr/lib/php4/libexec' '--enable-experimental-zts' '--without-mm' '--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-dom-xslt=shared,/usr' '--with-dom-exslt=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--enable-gd-native-ttf' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-imap-ssl' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--with-mysql=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--enable-xslt=shared' '--with-xslt-sablot=shared,/usr' '--with-snmp=shared,/usr' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'

Server API Apache
Virtual Directory Support enabled
Configuration File (php.ini) Path /etc/php4/apache/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety enabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib

TagsNo tags attached.
Operating Systemdebian sarge
PHP Version4.3.10-dev



2005-03-08 11:48

reporter   ~0000240

I've now reinstalled the php suite version 4.3.10-2 from my archive package. It fix my problem and reenable the Xdebug module.

But doesn't help with the bug sorry. :-(

Here is some command from unix command line which may help someone else:

remove new package 4.3.10-8

apt-get remove libapache-mod-php4 php4-cgi php4-cli php4-common php4-curl php4-dev php4-gd

install the old one manually from .deb file

cd /var/cache/apt/archives/
dpkg -i ls | grep php | grep -v 10-8

.deb fiels are :


Reload php4 module in apache:

Add the line:
LoadModule php4_module /usr/lib/apache/1.3/
To the file: /etc/apache/modules.conf

Not added by dpkg -i ??

Restart apache, of course. ;-)
/etc/init.d/apache restart

I've wrote an apt preferences file to Pin those package to be kept at this version, but wasn't able to ask apt to downgrade those packages:

cat /etc/apt/preferences

Explanation: downgrade php installation to keep xdebug working
Package: php4-gd
Pin: version 4.3.10-2
Pin-Priority: 1001

Package: php4-dev
Pin: version 4.3.10-2
Pin-Priority: 1001

Package: php4-curl
Pin: version 4.3.10-2
Pin-Priority: 1001

Package: php4-common
Pin: version 4.3.10-2
Pin-Priority: 1001

Package: php4-cli
Pin: version 4.3.10-2
Pin-Priority: 1001

Package: php4-cgi
Pin: version 4.3.10-2
Pin-Priority: 1001

Package: libapache-mod-php4
Pin: version 4.3.10-2
Pin-Priority: 1001


2005-03-10 22:16

administrator   ~0000245

No bug here. The Debian maintainer finds it necessary to build everything as ZTS ( and thus you need to use:

Issue History

Date Modified Username Field Change
2005-03-08 09:46 sylvain New Issue
2005-03-08 11:48 sylvain Note Added: 0000240
2005-03-10 22:16 derick Status new => resolved
2005-03-10 22:16 derick Resolution open => suspended
2005-03-10 22:16 derick Assigned To => derick
2005-03-10 22:16 derick Note Added: 0000245