• 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 /opt/plesk/php/7.0/bin/pecl install memcache error !!

WSNHosting

Regular Pleskian
downloading memcache-2.2.7.tgz ...
Starting to download memcache-2.2.7.tgz (36,459 bytes)
..........done: 36,459 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
Enable memcache session handler support? [yes] : yes
building in /tmp/pear-build-rootQ9u5WP/memcache-2.2.7
running: /tmp/memcache/configure --with-php-config=/opt/plesk/php/7.0/bin/php-config --enable-memcache-session=yes
checking for grep that handles long lines and -e... /bin/grep
...
config.status: executing libtool commands
running: make
/bin/sh /tmp/pear-build-rootQ9u5WP/memcache-2.2.7/libtool --mode=compile cc -I/opt/plesk/php/7.0/include/php -I. -I/tmp/memcache -DPHP_ATOM_INC -I/tmp/pear-build-rootQ9u5WP/memcache-2.2.7/include -I/tmp/pear-build-rootQ9u5WP/m
emcache-2.2.7/main -I/tmp/memcache -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/
plesk/php/7.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/memcache/memcache.c -o memcache.lo
libtool: compile: cc -I/opt/plesk/php/7.0/include/php -I. -I/tmp/memcache -DPHP_ATOM_INC -I/tmp/pear-build-rootQ9u5WP/memcache-2.2.7/include -I/tmp/pear-build-rootQ9u5WP/memcache-2.2.7/main -I/tmp/memcache -I/opt/plesk/php/7.
0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib -DHAVE_CONFIG_H
-g -O2 -c /tmp/memcache/memcache.c -fPIC -DPIC -o .libs/memcache.o
/tmp/memcache/memcache.c:40:40: error: ext/standard/php_smart_str.h: No such file or directory
In file included from /tmp/memcache/memcache.c:42:
/tmp/memcache/php_memcache.h:38:47: error: ext/standard/php_smart_str_public.h: No such file or directory
..
..
/opt/plesk/php/7.0/include/php/Zend/zend_hash.h:146: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/tmp/memcache/memcache.c:2238: error: too many arguments to function ‘zend_hash_del’
/tmp/memcache/memcache.c:2241: error: request for member ‘type’ in something not a structure or union
/tmp/memcache/memcache.c:2242: error: request for member ‘ptr’ in something not a structure or union
/tmp/memcache/memcache.c:2245:124: error: macro "zend_hash_update" passed 6 arguments, but takes just 3
/tmp/memcache/memcache.c:2245: warning: comparison between pointer and integer
/tmp/memcache/memcache.c:2255: error: ‘zend_ini_entry_def’ has no member named ‘ptr’
/tmp/memcache/memcache.c:2292:29: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
/tmp/memcache/memcache.c: In function ‘zif_memcache_get_version’:
/tmp/memcache/memcache.c:2292: error: ‘RETURN_STRING’ undeclared (first use in this function)
make: *** [memcache.lo] Error 1
ERROR: `make' failed

i have module memcached install
but can't use memcache ?

/opt/plesk/php/7.0/bin/php -v
PHP 7.0.7 (cli) (built: May 27 2016 10:46:36) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
 
Hi WSNHosting,

are you aware, that the PECL memcache package was released "2012-09-22" and seems unmaintained since "2013-04-07" ( <= the latest beta - release) ?
The package hasn't been ported to PHP 7 and needs to be rewritten.
 
Back
Top