NOTE: You can't test this Differential Revision if php74 -m | grep memcache command doesn't return 2 entries (the memcache and memcached).
NOTE: Test using a domain, that uses PHP 7.4.
Preparations
- in CLI as root user:
- run the php74 --ini | grep memcache
- remember the command output
- backup these files (but not inside the folder they're currently placed or its sub-folders)
Part 1 - both modules
- in CLI as root user:
- run the php74 --ini | grep memcache
- confirm, that 2 paths for 2 INI files were shown
- in the Web Browser
- delete all tables in the In-Portal database
- go to the /core/install.php URL
- confirm, that on the 1. System Requirements Check step the Memory caching support line is shown as [PASSED]
Part 2 - only memcache module
- in CLI as root user:
- go to the directory, where both of the above-remembered INI files are located
- ensure, that both INI files, remembered above are in place (if they're not, then restore them from the backup)
- delete the INI file (you must have this file in a backup), whose name ends with memcached.ini (e.g. using the rm filename command)
- run the php74 -m | grep memcache command
- confirm, that only memcache module is shown
- run the systemctl restart httpd.service command to restart the Web Server
- in the Web Browser
- delete all tables in the In-Portal database
- go to the /core/install.php URL
- confirm, that on the 1. System Requirements Check step the Memory caching support line is shown as [PASSED]
Part 3 - only memcached module
- in CLI as root user:
- go to the directory, where both of the above-remembered INI files are located
- ensure, that both INI files, remembered above are in place (if they're not, then restore them from the backup)
- delete the INI file (you must have this file in a backup), whose name ends with memcache.ini (e.g. using the rm filename command)
- run the php74 -m | grep memcache command
- confirm, that only memcached module is shown
- run the systemctl restart httpd.service command to restart the Web Server
- in the Web Browser
- delete all tables in the In-Portal database
- go to the /core/install.php URL
- confirm, that on the 1. System Requirements Check step the Memory caching support line is shown as [PASSED]
Part 3 - cleanup
- in CLI as root user:
- go to the directory, where both of the above-remembered in files are located
- ensure, that both ini files, remembered above are in place (if they're not, then restore them from the backup)
- delete the backup made in the Preparations part of the test plan
- run the php74 --ini | grep memcache
- confirm, that 2 paths to 2 INI files were shown
- run the systemctl restart httpd.service command to restart the Web Server