The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000120
======================================================================
Reporter:                   sylvain
Handler:                    derick
======================================================================
Project:                    Xdebug
Bug ID:                     120
Category:                   Installation
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Operating System:           debian sarge
PHP Version:                4.3.10-dev
Xdebug Version:             2.0.0beta2
Resolution:                 suspended
======================================================================
Date Submitted:             2005-03-08 09:46 CET
Last Modified:              2005-03-10 22:16 CET
======================================================================
Summary:                    Xdebug module doesn't load in apache on debian
Description: 
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
zend_extension="/usr/lib/php4/20020429/xdebug.so"
xdebug.remote_enable=On
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.
======================================================================
----------------------------------------------------------------------
 sylvain - 2005-03-08 11:48 CET 
----------------------------------------------------------------------
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 :
libapache-mod-php4_4%3a4.3.10-2_i386.deb
php4-cgi_4%3a4.3.10-2_i386.deb
php4-cli_4%3a4.3.10-2_i386.deb
php4-common_4%3a4.3.10-2_i386.deb
php4-curl_4%3a4.3.10-2_i386.deb
php4-dev_4%3a4.3.10-2_all.deb
php4-gd_4%3a4.3.10-2_i386.deb
php4-mysql_4%3a4.3.10-2_i386.deb
php4_4%3a4.3.10-2_all.deb
Reload php4 module in apache:
Add the line:
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
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
----------------------------------------------------------------------
 derick - 2005-03-10 22:16 CET 
----------------------------------------------------------------------
No bug here. The Debian maintainer finds it necessary to build everything
as ZTS (http://derickrethans.nl/why_i_dont_use_debians_php_packages.php)
and thus you need to use:
zend_extension_ts=/full/path/to/xdebug.so
Bug History
Date Modified  Username       Field                    Change              
======================================================================
2005-03-08 09:46sylvain        New Bug                                      
2005-03-08 09:46sylvain        Bug Monitored: sylvain                       
2005-03-08 11:48sylvain        Bugnote Added: 0000240                       
2005-03-10 22:16derick         Bugnote Added: 0000245                       
2005-03-10 22:16derick         Assigned To               => derick          
2005-03-10 22:16derick         Resolution               open => suspended   
2005-03-10 22:16derick         Status                   new => resolved     
======================================================================
Received on Thu Mar 10 2005 - 22:16:28 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST