cPanel Linux

cPanel Memcache ve Memcached Kurulumu

sunucu cpanel
Share

Merhabalar, cPanel EasyApache4 ile memcache kurmak biraz can sıkıcı olabilir. Bu makalemizde cPanel Memcache kurulumuna ilişkin bilgiler vereceğiz.

Eğer, PHP 7.2 Memcache yüklemek istiyorsanız lütfen tıklayınız. (How to install Memcached in EA4 and PHP72)

Sunucumuza terminal (SSH) erişimi yapalım.

wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz

tar -xvzf libmemcached-1.0.18.tar.gz

cd libmemcached-1.0.18

./configure

make && make install

/opt/cpanel/ea-php56/root/usr/bin/pecl download memcached

tar -xvf memcached-2.2.0.tgz

cd memcached-2.2.0

/opt/cpanel/ea-php56/root/usr/bin/phpize

./configure –with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config

make && make install

echo ‘extension=memcached.so’ >> /opt/cpanel/ea-php56/root/etc/php.d/memcached.ini

/opt/cpanel/ea-php56/root/usr/bin/pecl install memcache

echo ‘extension=memcache.so’ >> /opt/cpanel/ea-php56/root/etc/php.d/memcache.ini
Kontrolleri gerçekleştirelim.
php -m |grep mem

netstat -nlp| grep -i memcached

Bol trafikli günler dileriz.