Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to install do the following on Centos 5:

[root@d ~]# pecl install imagick

I got the following output:

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

Is the bad interpreter the problem? Is this causing phpize to fail? Or are these two separate problems?

share|improve this question
up vote 2 down vote accepted

Permission denied to Perl? Do you have SELinux enabled or something else funny going on? Have you done something odd such as chmod 000 /usr/bin/perl?

share|improve this answer

Your Answer


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.