Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Memcached not installed on PHP 7.2 Extensions



Normal Mode | Print  

Memcached not installed on PHP 7.2 Extensions
Dhanya
Group: Member
Post Group: Working Member
Posts: 200
Status:
Hi,

Sorry for delayed reply.

The memcached that you installed is not a PHP extension.

As well memcached extension has not been made available in Webuzo. It needs to be manually configured on your server. Please follow the given below steps for manually configuring the memcache.so in php72:
1. Execute the following commands in order given:
# yum install cyrus-sasl-devel
# cd
# wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
# tar -zxvf libmemcached-1.0.18.tar.gz
# cd libmemcached-1.0.18
# ./configure
# make && make install
# wget http://pecl.php.net/get/memcached-3.1.3.tgz
# tar -zxf memcached-3.1.3.tgz
# cd memcached-3.1.3
# /usr/local/apps/php72/bin/phpize
# LDFLAGS="-L/usr/local/apps/lib" CPPFLAGS="-I/usr/local/apps/include" ./configure --with-php-config="/usr/local/apps/php72/bin/php-config" --with-zlib-dir="/usr/local/apps" --disable-memcached-sasl && make && make install
# cd
# cp /root/memcached-3.1.3/modules/memcached.so /usr/local/apps/php72/ext

2. Open the PHP 72 extra.ini file by executing the following command as root:
# vi /usr/local/apps/php72/etc/php.d/extra.ini

3. Add the following statement to the end of the file:
extension=memcached.so

4. Restart the PHP72 service from commandline as root:
# service php-fpm72 restart

Once done, you will find the memcached extension loaded in PHP 72 using following command:
# php -m | grep memcached

We'll try to provide memcached extension in Webuzo as soon as possible.

Let us know if you need any further information.
IP: --   


Threads
 tegralens   Memcached not installed on PHP 7.2 Extensions (12 Replies, Read 38505 times)
    |--  Dhanya   Hi, Sorry for...   on March 25, 2019, 1:51 pm
    |--  tegralens   If it's for...   on March 25, 2019, 3:27 pm
    |--  tegralens   I got this...   on March 25, 2019, 5:44 pm
    |--  Dhanya   Hi, You can...   on March 26, 2019, 7:43 am
    |--  tegralens   This worked with...   on March 26, 2019, 12:35 pm
    |--  Dhanya   Hi, For "ERROR:...   on March 27, 2019, 7:52 am
    |--  tegralens   This doesn't do...   on March 27, 2019, 4:00 pm
    |--  Dhanya   Hi, Assuming that...   on March 28, 2019, 8:49 am
    |--  tegralens   When I ran...   on March 28, 2019, 3:50 pm
    |--  Dhanya   Hi, Yes. It...   on March 29, 2019, 10:18 am
    |--  tegralens   for php73 do...   on March 29, 2019, 12:12 pm
    |--  Dhanya   Hi, For enabling...   on March 30, 2019, 6:33 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 2, 2025, 1:22 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.149