Home > Backend Development > PHP Tutorial > php配置文件加载问题

php配置文件加载问题

WBOY
Release: 2016-06-06 20:09:28
Original
1051 people have browsed it

手动编译了php7,命令行下php -i | grep php.ini正常,但是通过浏览器访问nginx下phpinfo()显示没有加载php配置文件
php配置文件加载问题

回复内容:

手动编译了php7,命令行下php -i | grep php.ini正常,但是通过浏览器访问nginx下phpinfo()显示没有加载php配置文件
php配置文件加载问题

所以, 你通过命令行访问的php, 和通过浏览器访问的php, 不是同一个php.

Related labels:
php
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