且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

php.ini-命令行PHP和WAMP服务器访问不同的文件

更新时间:2023-02-23 17:48:30

您提到的所有内容都是预期的行为. Apache使用它自己的php.ini版本,并且需要重新启动Apache才能使所有更改生效.

Everything you have mentioned is expected behavior. Apache has it's own php.ini version it uses, and require an Apache restart to make any changes effective.

CLI也将拥有自己的php.ini.

CLI will also have it's own php.ini.