ERROR: failed to run `phpize'

huraji

New member
Joined
Apr 6, 2019
Messages
3
Hello,

I'm a new to server configurations. Using CentOS 7.5 and trying to install Redis and make it working with DA. I'm following the following tut https://tecadmin.net/install-redis-centos/ but I'm stuck on point 3 (Install Redis PHP extension). When I run

Code:
pecl install igbinary igbinary-devel redis

I get the following error:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Warning: popen() has been disabled for security reasons in OS/Guess.php on line 241
PHP Warning:  popen() has been disabled for security reasons in /usr/local/lib/php/OS/Guess.php on line 241

Warning: fgets() expects parameter 1 to be resource, null given in OS/Guess.php on line 242
PHP Warning:  fgets() expects parameter 1 to be resource, null given in /usr/local/lib/php/OS/Guess.php on line 242

Warning: pclose() expects parameter 1 to be resource, null given in OS/Guess.php on line 251
PHP Warning:  pclose() expects parameter 1 to be resource, null given in /usr/local/lib/php/OS/Guess.php on line 251
downloading redis-4.3.0.tgz ...
Starting to download redis-4.3.0.tgz (241,883 bytes)
..................................................done: 241,883 bytes
25 source files, building
running: phpize

Warning: popen() has been disabled for security reasons in PEAR/Builder.php on line 465
PHP Warning:  popen() has been disabled for security reasons in /usr/local/lib/php/PEAR/Builder.php on line 465
ERROR: failed to run `phpize'

How can I move forward?
Thanks.
 
Back
Top