PHP extension redis module Installation

Source: Internet
Author: User

Next, compile phpredis to PhP extension,

 

For more information, see http://skirt.sinaapp.com /? P = 110


Home page of The phpredis project: https://github.com/owlient/phpredisto download the latestCodeIn fact, it has not been updated for more than a year.

 

Phpredis provides convenient operations for redis services. By the way, you can contact how to compile the extension on centos.

 

First download owlient-phpredis-2.1.1-1-g90ecd17.tar.gz and copy the file to the ext directory of your PHP source code directory,


Tar-zxvf owlient-phpredis-2.1.1-1-g90ecd17.tar.gz;

 

CD owlient-phpredis-90ecd17


You can see:


/Usr/local/PHP/bin/phpize


./Configure-with-PHP-Config =/usr/local/PHP/bin/PHP-config


Make & make install

 

Then make install to copy the generated. So file to the PHP extension directory.

 


 

Modify the php. ini settings and restart PHP.

 

Extension = "/usr/local/PHP/lib/PHP/extension/no-debug-non-zts-20060613/redis. So"

 

View phpinfo ();


You Can See


Related Article

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.