Home  >  Article  >  Backend Development  >  求高手,Linux上安装的PHP缺少模块,如何解决

求高手,Linux上安装的PHP缺少模块,如何解决

WBOY
WBOYOriginal
2016-06-13 09:59:251317browse

求高手,Linux上安装的PHP缺少模块,怎么解决?
我在安装php时,./configure 时少加了一个参数“--enable-fpm”,
所以fpm模块没有安装进去,(fpm = FastCGI Process Management)
后来才知道 nginx支持PHP需要此模块,
-
现在请问,怎么能把这个模块加进去?
1. 要卸载重装的话,怎么卸载?
2. 不卸载,直接 configure, make, make install, 重装一遍可以吗?
3. 不卸载也不重装,可以单独添加 fpm 模块吗?
-
php用源码安装的,系统用SSH登录,所以请指点用命令的方法,多谢啦~

------解决方案--------------------

探讨
现在请问,怎么能把这个模块加进去?
1. 要卸载重装的话,怎么卸载?
2. 不卸载,直接 configure, make, make install, 重装一遍可以吗?
3. 不卸载也不重装,可以单独添加 fpm 模块吗?

------解决方案--------------------
make clean 清除一下
然后重新 ./configure 
把配置写好再 make && make install 
试试!!
Statement:
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