• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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