How to configure phpbb to use memcached or Redis

July 12, 2020 07:44:51 Website construction comment one hundred and forty

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

 How to configure phpbb to use memcached or Redis 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
 Xing Ming, founder of Tianya Community, responded to the closure for the first time Industry trends

Xing Ming, founder of Tianya Community, responded to the closure for the first time

On May 27, it was reported that Tianya Community was once one of the most influential websites on the Chinese Internet, and it was also the youth memory of many early generation netizens. However, since April 25, 2023, the old brand forum established in 1999 has been inaccessible, which has triggered heated discussion and nostalgia among netizens. Tianya Community
 Summary of common regular expressions Website construction

Summary of common regular expressions

Many friends who do not know much about regular check often look for regular check data on the Internet for a long time, but the results do not meet the requirements. So I recently sorted out some regular expressions commonly used in development and shared them here. Leave a background for yourself, and also give friends a reference
 Baidu Cloud accelerates the increase of domain name prompt: this domain name has used the anti screening service, please change the main domain name to access again Website construction

Baidu Cloud accelerates the increase of domain name prompt: this domain name has used the anti screening service, please change the main domain name to access again

When Baidu Cloud accelerated to add a domain name, it was prompted at the top of the page that this domain name has used the anti screening service, please change the main domain name to access again. This is because your domain name has set anti blocking settings in Baidu Alliance, which also uses Baidu Cloud to accelerate data distribution. To resolve the above
 anonymous

Comment

Anonymous netizens Fill in information

 :?:  :razz:  :sad:  :evil:  :!:  :smile:  :oops:  :grin:  :eek:  :shock:  :???:  :cool:  :lol:  :mad:  :twisted:  :roll:  :wink:  :idea:  :arrow:  :neutral:  :cry:  :mrgreen:

determine