Answer the question
In order to leave comments, you need to log in
How to solve problem with phpize when installing XHprof?
I decided to install XHProf on the server with Debian 6, but ran into a problem ( screenshot ). Used this article. But an error pops up from the screen. I found a solution in the form of a more detailed article , but there is an error:
Cannot find php-config. Please use --with-php-config=PATH
Answer the question
In order to leave comments, you need to log in
Didn't understand you found the phpize command? If not, the php5-dev package is most likely not installed, you need to install it.
Next, download the archive:
wget pecl.php.net/get/xhprof-0.9.4.tgz
Unpack and go into the extensions:
tar xzvf xhprof-0.9.4.tgz
cd xhprof-0.9.4/extension/
Prepare the environment, configure and build :
phpize
./configure
make
checkinstall
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question