Memcached and Redis both belong to NOSQL storage. Memcached uses multi-core mode internally, and single column operation is fast. Memcached uses key value storage. Disadvantages: It cannot be persisted, and the data cannot be backed up. It can only be used for caching, and the restart data is lost. Redis supports multiple data types, String, LIST, dict, set.... It supports persistent operations, and uses AOF and RDB to persist data to disk. So as to perform data backup and recovery operations. Prevent data loss. The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
Opening Memcached or Redis can greatly improve the access speed of websites. How to configure memcached or Redis acceleration for phpbb sites? The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
In this article, by default, you have installed the Memcached or Redis php extension and completed the relevant configuration in php.ini. If you haven't already configured it, please find out the relevant configuration ideas through Baidu and other search engines. The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
When your website running environment has been configured with the Memcached or Redis php extension, it is easy to enable Memcached or Redis on the phpbb site. Enter the root directory of the website, open and edit the config.php file. The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
Find the following in the config.php file The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
$acm_type = 'phpbb\\cache\\driver\\file'; The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
If you use the memcached extension as a cache, change it to: The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
$acm_type = 'phpbb\\cache\\driver\\memcached'; The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
If you use the Redis extension as a cache, change it to: The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
$acm_type = 'phpbb\\cache\\driver\\redis'; The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html
The article originates from the fallen fish- https://www.duoluodeyu.com/2623.html