User account menu

  • Log in
BXTra.net

Breadcrumb

  • Home
  • Articles
  • PECL Install Error: /bin/sh: bad interpreter: Permission denied

PECL Install Error: /bin/sh: bad interpreter: Permission denied

By BXTra | 9:50 PM PDT, Wed September 01, 2010
CentOS
DirectAdmin

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
About text formats
  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Codename: Stee…

14 years 2 months ago

Permalink

No-Go For Me But...

Solved it on an (mt) host using a chrooted environment under /root Simple actually. See their docs.
  • Reply

Jak

14 years 1 month ago

Permalink

Thanks for this!

Thanks for this!
  • Reply
  • Add new comment

  • Will the router get the Openvpn as a client option?
    6 years ago
  • cancellation
    6 years 1 month ago
  • Router ASUS RT-N12 D1 tomatoes passwort falsch
    7 years 8 months ago
  • WPS button = 30/30/30 hard reset button
    7 years 9 months ago
  • Save my day!
    8 years 3 months ago
  • How to
    8 years 6 months ago
  • Can i still access my modem (the one with the ISP provided)?
    8 years 6 months ago
  • A saving step!
    8 years 10 months ago
  • Problem with Asus n12e-c1
    8 years 11 months ago
  • don't use Hostgator
    9 years 2 months ago

© 2007 - 2023 BXTra.net. All Rights Reserved. 
Certain other content, photos and artwork displayed on BXTra.net are protected by copyright and are the property of their respective owners.

Privacy Policy