“ phpinfo()”中显示的已加载配置文件与其他用命令“ php --ini”显示的加载文件之间的区别是什么

问题描述 投票:0回答:1

[我使用wamp服务器和Windows 10操作系统,当我看到phpinfo()信息时,它显示了已加载的配置文件,与运行php --ini命令时显示的已加载的配置文件不同。

phpinfo():enter image description here

php --inienter image description here

加载的文件不相同是正常的吗?

以及如何更改已加载的配置文件?

提前谢谢您

php apache configuration wamp httpd.conf
1个回答
0
投票
phpinfo是来自网络服务器的php.ini
© www.soinside.com 2019 - 2024. All rights reserved.