• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue MEMCACHED & APCPHP 7.2 -- NGINX STANDALONE

Cero

New Pleskian
Hi Everybody!

Can you help me please?


/opt/plesk/php/7.2/bin/pecl install memcached
/opt/plesk/php/7.2/bin/pecl install apcu-4.0.11
Code:
root@localhost /opt/plesk/php/7.2/bin # /opt/plesk/php/7.2/bin/pecl install memcached
PHP Warning:  PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /opt/plesk/php/7.2/lib/php/modules/apcu.so (/opt/plesk/php/7.2/lib/php/modules/apcu.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.2/lib/php/modules/apcu.so.so (/opt/plesk/php/7.2/lib/php/modules/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/memcached can optionally use PHP extension "igbinary" (version >= 2.0)
pecl/memcached can optionally use PHP extension "msgpack" (version >= 2.0)
downloading memcached-3.0.4.tgz ...
Starting to download memcached-3.0.4.tgz (78,776 bytes)
..................done: 78,776 bytes
15 source files, building
running: phpize
Configuring for:
PHP Api Version:         20170718
Zend Module Api No:      20170718
Zend Extension Api No:   320170718
libmemcached directory [no] :
building in /tmp/pear-build-root41wkE4/memcached-3.0.4
running: /tmp/memcached/configure --with-php-config=/opt/plesk/php/7.2/bin/php-config --with-libmemcached-dir=no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... no
checking for gcc... no
configure: error: in `/tmp/pear-build-root41wkE4/memcached-3.0.4':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
ERROR: `/tmp/memcached/configure --with-php-config=/opt/plesk/php/7.2/bin/php-config --with-libmemcached-dir=no' failed
root@localhost /opt/plesk/php/7.2/bin #[/QUOTE]
/opt/plesk/php/7.2/bin/pecl install apcu-4.0.11
 
Hi Everybody!

Can you help me please?


/opt/plesk/php/7.2/bin/pecl install memcached

Code:
root@localhost /opt/plesk/php/7.2/bin # /opt/plesk/php/7.2/bin/pecl install memcached                                                                                PHP Warning:  PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /opt/plesk/php/7.2/lib/php/modules/apcu.so (/opt/plesk/php/7.2/lib/php/modules/apcu.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.2/lib/php/modules/apcu.so.so (/opt/plesk/php/7.2/lib/php/modules/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/memcached can optionally use PHP extension "igbinary" (version >= 2.0)
pecl/memcached can optionally use PHP extension "msgpack" (version >= 2.0)
downloading memcached-3.0.4.tgz ...
Starting to download memcached-3.0.4.tgz (78,776 bytes)
..................done: 78,776 bytes
15 source files, building
running: phpize
Configuring for:
PHP Api Version:         20170718
Zend Module Api No:      20170718
Zend Extension Api No:   320170718
libmemcached directory [no] :
building in /tmp/pear-build-rootVkdR9B/memcached-3.0.4
running: /tmp/memcached/configure --with-php-config=/opt/plesk/php/7.2/bin/php-config --with-libmemcached-dir=no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... no
checking for gcc... no
configure: error: in `/tmp/pear-build-rootVkdR9B/memcached-3.0.4':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
ERROR: `/tmp/memcached/configure --with-php-config=/opt/plesk/php/7.2/bin/php-config --with-libmemcached-dir=no' failed
root@localhost /opt/plesk/php/7.2/bin #
/opt/plesk/php/7.2/bin/pecl install apcu-4.0.11


Code:
root@localhost /opt/plesk/php/7.2/bin # /opt/plesk/php/7.2/bin/pecl install memcached
PHP Warning:  PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /opt/plesk/php/7.2/lib/php/modules/apcu.so (/opt/plesk/php/7.2/lib/php/modules/apcu.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.2/lib/php/modules/apcu.so.so (/opt/plesk/php/7.2/lib/php/modules/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/memcached can optionally use PHP extension "igbinary" (version >= 2.0)
pecl/memcached can optionally use PHP extension "msgpack" (version >= 2.0)
downloading memcached-3.0.4.tgz ...
Starting to download memcached-3.0.4.tgz (78,776 bytes)
..................done: 78,776 bytes
15 source files, building
running: phpize
Configuring for:
PHP Api Version:         20170718
Zend Module Api No:      20170718
Zend Extension Api No:   320170718
libmemcached directory [no] :
building in /tmp/pear-build-root41wkE4/memcached-3.0.4
running: /tmp/memcached/configure --with-php-config=/opt/plesk/php/7.2/bin/php-config --with-libmemcached-dir=no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... no
checking for gcc... no
configure: error: in `/tmp/pear-build-root41wkE4/memcached-3.0.4':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
ERROR: `/tmp/memcached/configure --with-php-config=/opt/plesk/php/7.2/bin/php-config --with-libmemcached-dir=no' failed
root@localhost /opt/plesk/php/7.2/bin #[/QUOTE]
/opt/plesk/php/7.2/bin/pecl install apcu-4.0.11
 
&& FIXED -

IF U HAVE IT TOO:


Install MEMCACHED PHP 7.2 – SERVER PLESK 17 UBUNTU 16.04



# apt-get install zlib1g-dev

# apt-get install libmemcached-dev


Code:
Build process completed successfully

Installing '/opt/plesk/php/7.2/lib/php/modules/memcached.so'

install ok: channel://pecl.php.net/memcached-3.0.4

configuration option "php_ini" is not set to php.ini location

You should add "extension=memcached.so" to php.ini
 
Back
Top