时间:2021-07-01 10:21:17 帮助过:39人阅读
php -r 'phpinfo();'
php --ini 会有类似这样的输出
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: D:\AMP\php54\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
应该很明确了吧