Problems with redis installation

my redis is installed and running. But phpinfo didn"t. What happened?

clipboard.png

Php
Mar.03,2021

some steps of my installation


1, redis is a non-relational database, and you are now installing a redis server. You have not installed the phpredis extension of PHP
2. How to install phpredis: http://www.simengphp.com/inde.


there is no phpredis in phpinfo (). This is a problem with the extension, so check whether there are php_redis extensions in the ext directory and whether there are any open configuration items in php.ini. If all are completed, Restart to complete the loading of the configuration.


well, first find the module directory of your php and see if there is any php redis.. Usually you use php-m to represent redis extensions in the cli environment. There are many php packages that install system integration, and the runtime configurations are different. For example, under my ubuntu, is my configuration file.

 apache2
 cgi
 cli
 fpm
 mods-available

where cgi and fpm and cli are separate. So, you first find your configuration file. You Loaded Configuration File this item. This item indicates the configuration file of your current environment. You can find the corresponding configuration file according to this, and add the extension of php redis. Extension = redis.so.


  1. you installed redis server
  2. phpinfo is the php version of redis client
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40cb9-2c54e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40cb9-2c54e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?