Home > Backend Development > PHP Tutorial > 如何才能知道当前项目是否安装的memcache

如何才能知道当前项目是否安装的memcache

WBOY
Release: 2016-06-13 12:06:48
Original
1010 people have browsed it

怎么才能知道当前项目是否安装的memcache
怎么才能知道当前项目是否安装的memcache    

我就知道当前项目所加载的php.ini去看有没有
extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/"
 extension="memcache.so"

还有 /usr/local/php/bin/php -m | grep memcache  但问题出现了  怎么知道php.ini 是和  /usr/local/php/bin/php对应的  因为我项目比较乱 有2个php.ini 有几个php文件夹 我不清除 反正不止装lnmp1个环境

------解决思路----------------------
phpinfo() ctrl+f memcache

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template