memcached.so 显示已经安装
但是用 -m 还是没有,php.ini 也添加到最后一行了。为什么
[root@localhost ~]# ll /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ total 2304 -rwxr-xr-x. 1 root root 386256 Sep 20 05:37 memcached.so -rwxr-xr-x. 1 root root 1970128 Aug 6 05:43 opcache.so [root@localhost ~]# /usr/local/php/bin/php -m |grep memcached [root@localhost ~]# [root@localhost ~]# vim /usr/local/php/etc/php.ini
[openssl] ; The location of a Certificate Authority (CA) file on the local filesystem ; to use when verifying the identity of SSL/TLS peers. Most users should ; not specify a value for this directive as PHP will attempt to use the ; OS-managed cert stores in its absence. If specified, this value may still ; be overridden on a per-stream basis via the "cafile" SSL stream context ; option. ;openssl.cafile= ; If openssl.cafile is not specified or if the CA file is not found, the ; directory pointed to by openssl.capath is searched for a suitable ; certificate. This value must be a correctly hashed certificate directory. ; Most users should not specify a value for this directive as PHP will ; attempt to use the OS-managed cert stores in its absence. If specified, ; this value may still be overridden on a per-stream basis via the "capath" ; SSL stream context option. ;openssl.capath= ; Local Variables: ; tab-width: 4 ; End: extension = memcached.so
0
收起
正在回答
2回答
您好,建议根据环境找到对应的教辅,参考教辅进行安装。另memcached版本与PHP版本有关,下载时请注意。祝学习愉快!
PHP常用技术与ThinkPHP5框架开发
- 参与学习 人
- 提交作业 225 份
- 解答问题 3372 个
掌握用PHP开发互联网网站的必备功能,掌握当下主流的Linux系统开发,并熟练使用热门框架ThinkPhp开发电商团购项目,是通向PHP工程师必经之路。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星