According to the requirements of users need to install the mall program in the WDCP panel environment, but this program needs to support Redis and Phpredis extension. According to Lao Jiang Cognition, WDCP default to build ordinary website is certainly no problem, but specifically is not support Redis and Phpredis extension is not clear, so by looking at official documents, also good default new version V3.2 is supported Redis, has been installed by default. However, the Phpredis extension is not installed, so just install Phpredis.
In this article, Lao Jiang will be installed in the WDCP V3.2 version of the Phpredis extension support, of course, you need to record this process, if you have a netizen to see or you need to install the time can be directly referenced.
First, download the Phpredis extension installation package
wget Http://soft.itbulu.com/tools/phpredis-develop.zip
Unzip Phpredis-develop.zip
CD Phpredis-develop
Download the Phpredis extension installation package and enter the installation directory.
Second, use Phpize to prepare to add extensions
/www/wdlinux/php/bin/phpize
If you see a success, you need to resolve it if there is an error.
Third, configure and install Phpredis
./configure--with-php-config=/www/wdlinux/apache_php-5.5.38/bin/php-config
After this there is no error, then execute:
Make
Make install
There seems to be no problem.
IV. add extension file php.ini
Extension_dir =/www/wdlinux/php/lib/php/extensions/no-debug-non-zts-20121212/redis.so
Adds the corresponding catalog file to the current php.ini file. The last restart of the Web can take effect.
Check whether the Phpredis is in force.
As you can see here, Phpredis has been installed successfully. Let's try the program we need to install.
WDCP Panel Web Environment installation redis and Phpredis extension application method