How to install apd in debian php5

installationphp5

I have a debian etch server running php+apache. I am using php5-cli, php5-common, php5-mysql and php5-sybase. I want to use APD to profile my php code, but a php5-apd package is not available in debian. Even pear package is missing (only php4-pear is available). I do not want to downgrade to php4 for fear of breaking some thing. What would be the safe way to install apd for php5 in Debian Etch?

with regards,

raj

Best Answer

Debian don't always put the version number in the packages. Php Pear is just in as php-pear for version 5, the default version. See here

Once that is installed, the pecl tool will become available.

pecl install apd

Will install the latest version of apd for you. If you do anything to your php.ini or include paths, these may need to be modified to pick up the install.