centos system, lnmp environment, I compiled and installed the memcached extension. There is an extension under php -m, but there is no such extension in phpinfo?
PHPz2017-05-24 11:32:32
You can try using the command line to see if phpinfo()
is there. If not.
I am afraid that the ini of your cli and the ini of php-fpm are not the same.
仅有的幸福2017-05-24 11:32:32
If it still doesn’t work after you restart php-fpm, check if there are multiple php versions. The command line and web may use different php.