We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to install Memcached and get it to work?
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
How to install Memcached and get it to work?
hi, I am using VestaCP v0.9.8 on CentOS 7 now. Before posting this topic, I had searched this forum about "memcached' but there was not enough information here.
I followed this command to install Memcached (from one of those posts on this forum):
Then I restarted httpd with this command:
Next, I checked my Memcached status with:
And got following result:
My question is: Does this means I have installed Memcached correctly? Does this means my Memcached is running properly?
Why there were "diabled" in the status check?
My Joomla caching component JotCache still can not work well if I choose Memcached as its Cache Storage. It seems that something is wrong with my Memcached.
Hope someone here will point out where is wrong in my opration.
Thank you.
I followed this command to install Memcached (from one of those posts on this forum):
Code: Select all
yum install --enablerepo=remi php-pecl-memcache memcached libmemcached -y
Code: Select all
systemctl restart httpd
Code: Select all
systemctl status memcached
If you can not read above message clear, see the screenshot below:● memcached.service - Memcached
Loaded: loaded (/usr/lib/systemd/system/memcached.service; disabled; vendor preset: disabled)
Active: active (running) since Sat 2015-12-26 20:42:08 CST; 12h ago
Main PID: 18437 (memcached)
CGroup: /system.slice/memcached.service
└─18437 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024 -l 127.0.0.1
Dec 26 20:42:08 joomlacloud systemd[1]: Started Memcached.
Dec 26 20:42:08 joomlacloud systemd[1]: Starting Memcached...
My question is: Does this means I have installed Memcached correctly? Does this means my Memcached is running properly?
Why there were "diabled" in the status check?
My Joomla caching component JotCache still can not work well if I choose Memcached as its Cache Storage. It seems that something is wrong with my Memcached.
Hope someone here will point out where is wrong in my opration.
Thank you.
Re: How to install Memcached and get it to work?
memcached looks fine... but what's about php5-memcached? You did install php5-memcached?
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: How to install Memcached and get it to work?
What is "php5-memcached"? Is memcahced php-version specific? I don't know. I only know that my Joomla CMS needs memcached.
Do I need to install another "php5-memcached"? If I need, how to install it?
Thank you.
Do I need to install another "php5-memcached"? If I need, how to install it?
Thank you.
Re: How to install Memcached and get it to work?
Oh... php5-memcached it's php extension, which can work with memcached (it's like php5-myql, php5-gd or others)
and then
Code: Select all
yum -y install php-pecl-memcache
Code: Select all
service httpd restart