Home  >  Article  >  php教程  >  wamp two different php.ini

wamp two different php.ini

WBOY
WBOYOriginal
2016-09-09 08:13:341065browse

Recently, I installed a vld extension in a locally developed windows wamp environment and encountered a strange problem. phpinfo() has

But there is no such thing in cli command mode

Finally, I found that the php.ini pointed to by wamp phpinfo() and the cli command mode are not the same file

C:\wamp\bin\apache\apache2.4.17\bin\php.ini 用于web访问时的配置文件,
C:\wamp\bin\php\php5.6.15\php.ini 用于cli命令行使用时的配置文件

 

Statement:
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