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?
伊谢尔伦
伊谢尔伦 2017-05-24 11:30:32
0
5
762

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伐。

reply all(5)
洪涛

Check if the extension has been added to your php.ini

某草草

Has apache or php-fpm been restarted?

PHPzhong

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.

大家讲道理

php.ini Just change the configuration

仅有的幸福

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!