Here's the issue:
I need to install a PHP Accelerator (preferably APF) on our server. It keeps bombing out with this message:
/usr/local/bin/phpize: /tmp/tmpDUzC4W/APC-3.0.12p2/build/shtool: /bin/sh: bad interpreter: Permission denied.
The issue, as I eventually tracked it down, stems from the fact that a) certain servers have their temp folders mounted on a -noexec mount, as we do, and b) PECL/PEAR, the package used to install this, is stupid enough to have the /tmp location hard-coded so that you can't actually change it to another directory.
So the question is: how would I temporarily enable executing files on the /tmp file? (I tried editing fstab, and found nothing resembling /tmp, which indicates that the securetmp script does it in some other way). And how would I re-lock the /tmp directory when it's over?
Thanks,
T.F.
I need to install a PHP Accelerator (preferably APF) on our server. It keeps bombing out with this message:
/usr/local/bin/phpize: /tmp/tmpDUzC4W/APC-3.0.12p2/build/shtool: /bin/sh: bad interpreter: Permission denied.
The issue, as I eventually tracked it down, stems from the fact that a) certain servers have their temp folders mounted on a -noexec mount, as we do, and b) PECL/PEAR, the package used to install this, is stupid enough to have the /tmp location hard-coded so that you can't actually change it to another directory.
So the question is: how would I temporarily enable executing files on the /tmp file? (I tried editing fstab, and found nothing resembling /tmp, which indicates that the securetmp script does it in some other way). And how would I re-lock the /tmp directory when it's over?
Thanks,
T.F.