Page 1 of 1

Install memcached vestacp PHP74

Posted: Wed Apr 22, 2020 11:58 am
by marcofbb
Steps for install memcached for VestaCP PHP74 Centos 7

Code: Select all

yum -y install memcached
systemctl enable memcached
yum -y install php74-php-memcached --enablerepo=remi
yum -y install php74-php-igbinary --enablerepo=remi
yum -y install php74-php-msgpack --enablerepo=remi
	
ln -s /etc/opt/remi/php74/php.d/50-memcached.ini /etc/php.d/
ln -s /etc/opt/remi/php74/php.d/40-msgpack.ini /etc/php.d/
ln -s /etc/opt/remi/php74/php.d/40-igbinary.ini /etc/php.d/
ln -s /opt/remi/php74/root/usr/lib64/php/modules/memcached.so /usr/lib64/php/modules/
ln -s /opt/remi/php74/root/usr/lib64/php/modules/msgpack.so /usr/lib64/php/modules/
ln -s /opt/remi/php74/root/usr/lib64/php/modules/igbinary.so /usr/lib64/php/modules/

Re: Install memcached vestacp PHP74

Posted: Wed Apr 22, 2020 12:07 pm
by guiditoito
you should use ln -s rather than copy because when you update your server the files will remain old

Re: Install memcached vestacp PHP74

Posted: Sat Apr 25, 2020 2:25 am
by marcofbb
guiditoito wrote:
Wed Apr 22, 2020 12:07 pm
you should use ln -s rather than copy because when you update your server the files will remain old
You're right

Cheers