Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Turland's Blog:
PHPUnit and Xdebug on Ubuntu Karmic
Jan 04, 2010 @ 16:12:54

Matthew Turland has put together a guide for getting PHPUnit and Xdebug up and working on one of the latest Ubuntu releases (Karmic) to resolve an upgrade issue with the package install.

This is just a quick post to advise anyone who may be using PHPUnit and Xdebug together on Ubuntu Karmic. If you try to upgrade to PHPUnit 3.4.6 and you’re using the php5-xdebug Ubuntu package (which is Xdebug 2.0.4), you may get output that looks like [this error].

He gives a two ways to overcome the issue - forcing the PEAR installer to ignore dependencies or reinstalling with Xdebug 2.0.5 instead (via the PECL installer) as a shared module.

tagged: phpunit xdebug ubuntu karmic package

Link:

PEAR Blog:
Ubuntu Karmic Ships with PEAR-Affecting Issues
Nov 04, 2009 @ 15:47:43

The PEAR blog has pointed out some issues that the latest Ubuntu release (Karmic) can cause with a typical PEAR installation:

Be aware that the initial release of Ubuntu Karmic contains a bug that affects PHP and PEAR, whose fix came a tad too late to make the initial release. The bug is fixed, and will be included in upcoming updates from Ubuntu. [...] The bug causes some zlib functions to be unavailable to PHP, and the Archive_Tar code will silently fail due to this.

Until the update gets pushed out into the updated releases, you can use the "-Z" option on any package installs or upgrades you might do in your PEAR installation.

tagged: pear ubuntu bug karmic

Link:


Trending Topics: