Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 321279

Summary: Please stable =dev-php5/xdebug-2.0.5, =dev-php/xdebug-client-2.0.5
Product: Gentoo Linux Reporter: Matti Bickel (RETIRED) <mabi>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: STABLEREQ
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matti Bickel (RETIRED) gentoo-dev 2010-05-24 09:09:18 UTC
Hi folks,

the current stable version (2.0.2) on your arch is essentially bit-rot. Current stable (2.0.5) includes a large number of bugfixes, including a memory leak.

Testing can be done by 
(1) emerging the two ebuilds
(2) editing /etc/php/apache2-php5/ext-active/xdebug.ini to say 'xdebug.default_enable="1"'
(3) restarting your apache
(4) creating some php file in a apache-readable dir (say /var/www/localhost/htdocs/test.php)
(5) editing said file to say "<?php phpinfo(); ?>"
(6) Visit http://localhost/test.php
(7) Search for the string "xdebug" on the page to verify the extension is up and running

For those of you who have php with CLI interface, a simple "php -m | grep Xdebug" should suffice.

You probably don't need to test profiler and error output but you're welcome to switch the "profiler_enable" variable in xdebug.ini to "1" and watch the generated output.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-13 14:38:14 UTC
x86 stable, closing