WDCP Panel Web Environment installation redis and Phpredis extension application method

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.