Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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

 
discard

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.