لايت سبيد سيرفر LightSpeed Server حل مشكلة Object Cache Status Connection Test Failed
My open litespeed object cache connection test failed
cpanel litespeed install memcache - litespeed and memcache
Can LiteSpeed Memcached be installed on cPanel servers?
memcached or Redis in cpanel with LiteSpeed web server what's best with LiteSpeed ?
How to Install PHP Redis on a cPanel Server?
https://www.rise.company/upload/uplo...3859842772.png
المشكلة :
يظهر خطا Connection Test Failed سواء كنت مختار Memcached او Redis
حيث ان كلاهما يجب ان يكون مثبت على مستوى السيرفر اما من easyapache او Module Installers
ولكى تعرف memcached انه مثبت ام لا
اذا كان memcached مثبت هيظهر هكذاكود:systemctl status memcached
https://www.rise.company/upload/uplo...3859893224.png
اذا كان memcached غير مثبت هيظهر هكذا
https://www.rise.company/upload/uplo...3859910585.png
--------------------------------------------------
حل المشكلة : تثبيت Memcached
--------------------------------------------------
ادخل الامر التالى على server terminal
ثمكود:yum install memcached
ثم اذا كان السيرفر الخاص بك هو كلاود لينكس ادخل على php selectorكود:systemctl start memcached
systemctl enable memcached
systemctl status memcached
ثم فعل memcached وهم اثنين مرتبطين مع بعضهم البعض
memcached + memcache
https://www.rise.company/upload/uplo...4238598683.png
ثم اذا كان السيرفر الخاص بك لايت سبيد LiteSpeed Server
ولديك ووردبريس مثبت عليه بلوجن LiteSpeed Cache
يجب ان تجد ان مل شىء Enabled و Passed
https://www.rise.company/upload/uplo...3859816951.png
--------------------------------------------------
حل المشكلة : تثبيت Redis
--------------------------------------------------
تثبيت Install Redis + PHP Redis
ادخل هذا الامر فى terminal لتثبيت Redis
ثم ادخل هذا الامر لتشغيل Redis والتحقق يعمل ام لاكود:yum install epel-release
yum install redis -y
هيظهر لك نتيجة التثبيتكود:systemctl start redis
systemctl enable redis
systemctl status redis
The latest command should give you a confirmation of that Redis is running.
مثل هذا
It also returns the port being used (here 6379) which you may need for your application.اقتباس:
redis.service - Redis persistent key-value database
Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/redis.service.d
└─limit.conf
Active: active (running) since Sat 2020-06-24 15:21:55 GMT +1; 40s ago
Main PID: 2157 (redis-server)
CGroup: /system.slice/redis.service
└─2157 /usr/bin/redis-server 127.0.0.1:6379
https://www.rise.company/upload/uplo...5797678921.png
It also returns the port being used (here 6379) which you may need for your application.
https://www.rise.company/forum/image...2024/01/58.png
Login to WHM and search in the WHM sidebar for Module Installers.
Click on it and then click on Manage PHP PECL.
https://www.rise.company/forum/image...2024/01/59.png
At the next stage, select the PHP version you would like to install Redis For and inside the Module Search type Redis and click on Go
Finally, in the search result click on Install and after a few seconds, it should be completed.
https://www.rise.company/forum/image...2024/01/60.png
That's it, you have now enabled a Redis Cache on your server.
اذهب الان الى تطبيق Litespeed cache ثم فعل Redis وانتبه لا بد من اختيار Port الصحيح
حيث ان port ال Memcached هو 11211 اما Redis هو 6379
https://www.rise.company/upload/uplo...3584178091.png
المرجع:
https://www.litespeedtech.com/suppor...tall-memcached
https://community.cyberpanel.net/t/m...failed/37723/6
https://apps.cpanel.net/threads/memc...espeed.685125/
https://my.maxer.com/knowledgebase/2...-Selector.html
----------------
https://docs.cpanel.net/ea4/containe...ia-containers/
https://www.milesweb.in/hosting-faqs...cpanel-server/
https://www.host-stage.net/client-ar...-7-Server.html
https://supporthost.in/install-redis...cpanel-server/
