1. Download Php-redis expansion pack
2, unpack after unpacking into the directory, you can see the following:
3. Execute the phpize command under PHP installation directory in this directory
4. There will be one more configure file in this directory
5, can now be configured,--with-php-config is to tell the extension need to install the location, automatically help us configure the compiler (execution once error, there may be no installation autoconf, execute the following yum install autoconf)
6. Compile Make
7. Compile pass, execute make install
After the installation is complete, you are prompted to place the extension in the directory where you will find the redis.so extension
9, modify the php.ini file, add the following information
10. After saving and exiting, restart the server. View Phpinfo () information
The load is displayed successfully at this time.
Installing Redis extensions under Linux