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 am trying to Install XDebug on Ubuntu latest version but get the following error:

 pecl install Xdebug
WARNING: configuration download directory "/build/buildd/php5-5.2.10.dfsg.1/pear-build-download" is not writeable.  Change download_dir config variable to a writeable dir to avoid this warning
Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user
jigal@LT-Jigal:/$ sudo pecl install Xdebug
downloading xdebug-2.0.5.tgz ...
Starting to download xdebug-2.0.5.tgz (289,234 bytes)
.................done: 289,234 bytes
67 source files, building
running: phpize
sh: phpize: not found
ERROR: `phpize' failed

How can I solve this?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Install the php5-dev package should solve your problem. You can find this info on http://packages.ubuntu.com/, with phpize5 (linked automatically to phpize)

share|improve this answer
add comment

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.