Install PHPredis on DA CentOS 7 VPS

JelleG

Verified User
Joined
Jun 3, 2015
Messages
57
Hi,

I installed the latest version of Redis, using the following script.

Code:
wget http://download.redis.io/releases/redis-3.2.3.tar.gz
tar xzf redis-3.2.3.tar.gz
cd redis-3.2.3
make
make test
make install
cd utils
chmod +x install_server.sh
./install_server.sh

Now I also want to install phpredis (https://github.com/phpredis/phpredis)
I can not get it installed right.

How can I install phpredis correctly?
 
Thanks Alex.

I get the following error:

Code:
 [root@server ~]# phpize
Cannot find config.m4. 
Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module
 
Just tried and installed without an issue:

Code:
# ls -al /usr/local/php53/lib/php/extensions/no-debug-non-zts-20090626/redis.so
-rwxr-xr-x 1 root root 1640063 Aug 17 20:20 /usr/local/php53/lib/php/extensions/no-debug-non-zts-20090626/redis.so



Make sure you run phpize inside of the directory: phpredis-develop
 
Just tried and installed without an issue:

Make sure you run phpize inside of the directory: phpredis-develop

Can you tell me the path to phpredis-develop? For some reason, I can not install phpize.
 
Back
Top