pecl shtool does not exist

Just got another problem with my debian server:
I can’t install anything with pecl, it always says

shtool at '/tmp/pear/xxxx/build/shtool' does not exist or is not executable. 
Make sure that the file exists and is executable and then rerun this script. 

On debian it’s an executable-issue within the tmp-folder.

so all that is to do is remount the /tmp/ like this:

mount -o remount,exec /tmp/

After you have installes, what you need, disable the executinon -flags again. (it’s a security feature – so it’s advised to do this)

mount -o remount,noexec /tmp/

Leave a Reply

Your email address will not be published. Required fields are marked *