尝试安装在Centos 5上执行以下操作:
[root@d ~]# pecl install imagick
我得到了以下输出:
downloading imagick-3.0.1.tgz ... Starting to download imagick-3.0.1.tgz (93,920 bytes) .....................done: 93,920 bytes 13 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 /usr/bin/autoconf: /usr/bin/autom4te: /usr/bin/perl: bad interpreter: Permission denied /usr/bin/autoconf: line 271: /usr/bin/autom4te: Success ERROR: `phpize' failed
糟糕的翻译是否是问题? 这是否导致phpize失败? 还是这两个单独的问题?
Permission denied Perl? 你有SELinux启用或其他有趣的事情吗? 你有没有做一些奇怪的,如chmod 000 /usr/bin/perl ?