Hello,
Before upgraded to PHP7, I used PHP5.6 and installed Memcached successfully on my VPS and used it.
But, after installed PHP7
I got this error on PHP7
I downgraded PHP back to PHP 5.6
But now the error is still appearing when I added
to
on PHP 5.6, the error is:
Now I can not use Memcached on PHP 5.6 like before.
Does any one know how to solve this problem?
Thanks in advance!
Before upgraded to PHP7, I used PHP5.6 and installed Memcached successfully on my VPS and used it.
But, after installed PHP7
I got this error on PHP7
Code:
[root@serverh ~]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
I downgraded PHP back to PHP 5.6
But now the error is still appearing when I added
Code:
extension=memcache.so
to
Code:
/usr/local/lib/php.ini
on PHP 5.6, the error is:
Code:
[root@serverh ~]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.6.25 (cli) (built: Sep 13 2016 01:27:52)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Now I can not use Memcached on PHP 5.6 like before.
Does any one know how to solve this problem?
Thanks in advance!