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,


2 Answers 2


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.


APD is part of PECL. You can use the PECL installer to install the package:

pecl install apd

It will download, compile and install the package automatically. You may then need to enable it in php.ini.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.