不能运行phpinfo怎么看 当前项目用的是哪个php.ini

WBOY
Release: 2016-06-23 13:48:22
Original
1223 people have browsed it

不能运行phpinfo怎么看(因为不是网页 是php-cli)  怎么看当前项目用的是哪个php.ini  


回复讨论(解决方案)

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)

应该很明确了吧

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