Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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,


share|improve this question
up vote 4 down vote accepted

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.

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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