0 Members and 1 Guest are viewing this topic.
1. Choose 'php54m' for 'php used' in 'webserver configure'2. Copy '/opt/php54m/etc/php.d/memcached.nonini' to '/opt/php54m/etc/php.d/memcached_used.ini'3. Restart your web with 'sh /script/restart-web -y'Note: better update your server with 'yum clean all; yum update -y; sh /script/restart-web -y' before activate memcached.
yum install memcached -y; chkconfig memcached on; sh /script/restart-web -y
Stopping memcached: [FAILED]Starting memcached: chown: invalid user: `memcached\r' to switch toe user memcached [FAILED]
I installed like thisyum -y install memcached memcached-devel php-pecl-memcachechkconfig memcached onOptions for memcached in folders /etc/sysconfig ? ? /etc/rc.d/init.d for memcached filesPORT="11211"USER="memcached"MAXCONN="1024"CACHESIZE="256" //any number you preferOPTIONS="-l 127.0.0.1"Everything works fine several years
Options for memcached in folders /etc/sysconfig ? ? /etc/rc.d/init.d for memcached filesPORT="11211"USER="memcached"MAXCONN="1024"CACHESIZE="256" //any number you preferOPTIONS="-l 127.0.0.1"
yum reinstall memcached -y
Stopping memcached: [ OK ]Starting memcached: [ OK ]
Page created in 0.037 seconds with 22 queries.