When I tried to use PECL to install APC. I got error below :
# pecl install apc
downloading APC-3.0.19.tgz ... Starting to download APC-3.0.19.tgz (115,735 bytes) .........................done: 115,735 bytes 47 source files, building WARNING: php_bin /usr/local/php5/bin/php appears to have a suffix 5/bin/php, but config variable php_suffix does not match running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 /usr/local/php5/bin/phpize: /tmp/pear/temp/APC/build/shtool: /bin/sh: bad interpreter: Permission denied Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. ERROR: `phpize' failed
Then, I realized that I did something with /tmp partition for security reason. So, I have to temporary disable it by using command below:
SSH
mount -o remount,exec /tmp
After installed extension, just remount /tmp partition again.
SSH
mount -o remount,noexec /tmp
No-Go For Me But...
Thanks for this!