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?
小伙看你根骨奇佳,潛力無限,來學PHP伐。
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.
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.