Cause, because to upgrade OpenSSL (OpenSSL upgrade is not a table), so after the upgrade to PHP has also been newly compiled, compiled successfully.
Find no installation, Memcache extension, install from new compilation, display installation succeeded, but Phpinfo () does not show memcache extension
Found, php.ini documents, there are extension= "memcache.so" very strange problem,
Find Phpinfo () Extension_dir in the directory, there are memcache.so,
Restart the PHP-FPM also does not show (or Apache or the like)
After using php-m can be loaded out of memcache, while using phpinfo () No memcache
[[email protected] ~]# php-m[php Modules] Bcmathcorectypecurldatedomeregfilterftpgdgettexthashiconvjsonlibxmlmbstringmcryptmemcache
Should be php-cli with php-fpm called a different, php.ini configuration file
[Email protected] ~]# Php-i | =/usr/local/php/=/usr/local/php/etc/php.ini
Phpinfo.php This is the newly created PHP file, which is written in Phpinfo ()
[[email protected] ~]# php phpinfo.php | =/usr/local/php/=/usr/local/php/lib/php.ini
Create a soft connection under/usr/local/php/lib
[Email protected] ~]# ln-s/usr/local/php/etc/php.ini/usr/local/php/lib/php.ini
PS: The above is the post-editing, the display may not occur at that time, the problem is not a problem troubleshooting, and other for PHP memcache extension troubleshooting methods.
which PHP to see if it is more than PHP version caused, php-m and other issues
Php-cli and php-fpm are the same PHP version or php.ini (the different php.ini that happened this time)
PHP Apache Nginx memcache and other various reboots look at
by bin
PHP memcache extension php-m differs from phpinfo ()