Home  >  Article  >  Backend Development  >  在ubuntu14.14 安装php扩展扩展出现的有关问题

在ubuntu14.14 安装php扩展扩展出现的有关问题

WBOY
WBOYOriginal
2016-06-13 12:28:56882browse

在ubuntu14.14 安装php扩展扩展出现的问题

 

我是在ubuntu14.14 安装的 lnmp。 部分扩展。均已安装好,但是我用apt-get 方式安装 redis和curl扩展时,我的配置都设置但是从phpinfo里面看没有响应的配置项。

于是我找在我phpinfo 加载的是 /etc/php5/fpm/php.ini 下的配置文件,我用php -i 命令和 php -m 看到我加载的配置都是cli下面的。在etc/php5/fpm/php.ini 配置好后,我重启fpm,用sudo /etc/init.d/php5-fpm restart没有回显提示。在网上查了许多资料终于找打了一篇关于 ubntu server 14.04 以上版本的介绍里面有详细的介绍对php5-fpm服务的启动方式的变更的文章,读后。唉。。。感谢此位大神。但是用service xxx restart 就没有此类问题。感谢这位大神。

文章链接 http://www.cnxct.com/php5fpm-start-with-service-method-was-changed-on-ububtu-server-1404/

 

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