亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

There are no redis and memcahe in the lnmp environment of the centos system. I compiled and installed it. Can PHP support redis and memcache extensions?
ringa_lee
ringa_lee 2017-05-19 10:08:10
0
3
837

I am using Alibaba Cloud's redis and memcahce services. I do not need to install these two in the environment, but I need to make PHP support these two extensions

ringa_lee
ringa_lee

ringa_lee

reply all(3)
小葫蘆

redis PHP extension, you can use it without relying on libraries pecl install redis Or just download the source code package and install it

memcache needs to install dependent libraries first (the following are the names in the Debian series, other systems may be different)

# for memcache
zlib1g-dev

# for memcached
libmemcached-dev

Then just use pecl or source code to install it

習(xí)慣沉默

It can be supported. First, PHP installs the extensions of redis and memcahce. Then you may need to modify the ini file of php-fpm and add the corresponding .so to enable the extension

某草草

You need redis and memcahce; PHP support expansion of redis and memcahce
Then you already have these two from Alibaba Cloud, then you only need to install the PHP expansion:
http://pecl.php.net/package/m. ..
http://pecl.php.net/package/r...
Then configure the connection

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template