This article is a mirror article of machine translation, please click here to jump to the original article.

View: 8204|Reply: 0

Install the redis extension under php 5.5.7 under CentOS

[Copy link]
Posted on 3/7/2019 12:25:28 PM | | | |
environment
System: CentOS Linux release 7.5.1804 (Core)
PHP version: PHP version 5.5.7

[root@home]# php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
ereg
filter
ftp
gd
hash
iconv
json
libxml
mbstring
mcrypt
memcache
mysql
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
Zend Guard Loader
zip
zlib

[Zend Modules]
Zend Guard Loader
We can also create a new phpinfo(); file to see if there is a redis extension.

Install the Redis extension



After the installation is complete, the installation path below will appear

/alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/


Configure php.ini

Edit the /alidata/server/php/etc/php.ini file and add a line with the following content:

Restart PHP

That's it, check the phpinfo information, look for the redis keyword and you will see that php is already supported





Reference articles:

CentOS installs the PHP OpenSSL extension
https://www.itsvse.com/thread-3187-1-1.html
(Source: Architect_Programmer)


(End)




Previous:Inventor 2018 video tutorial
Next:CentOS 7 installation Redis 5.0.3 tutorial
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com