GRPC - shtool does not exist or is not executable in Ubuntu

Hello guys, in this article, I will show you how to install the google GRPC extension into your server.

When i run the command, it will give me the following error-

[root@server ]# pecl install imagick
downloading imagick-3.4.3.tgz ...
Starting to download imagick-3.4.3.tgz (245,410 bytes)
...................................................done: 245,410 bytes
19 source files, building
running: phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
shtool at '/var/tmp/imagick/build/shtool' does not exist or is not executable.
Make sure that the file exists and is executable and then rerun this script.

ERROR: `phpize' failed
[root@server ]#

This issue can be resolved by changing the PECL temp_dir to a new path. So let's do:

mkdir /root/tmp
pecl config-set temp_dir /root/tmp

Sometimes the pecl config-set does not work due to a known bug. Then running the following command will fix your problem.

pear config-set temp_dir /root/tmp

I hope, it will fix your problem.

Tags : GRPC Ubuntu

Related Post

Ngnix: 413 – Request Entity Too Large Error
Maksud

Maksud

I am a thinker, not a talker.