php.ini 在哪里?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13984456/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where is php.ini?
提问by Ryan Peschel
Possible Duplicate:
How do i edit php.ini file in xampp server
I ran phpinfo and it said it was in C:\Windows but it's not there. It's not in the php folder. I did a system search and it wasn't found.
我运行了 phpinfo,它说它在 C:\Windows 中,但它不在那里。它不在php文件夹中。我做了系统搜索,没有找到。
Where is it hiding?
它藏在哪里?
回答by swapnesh
Run this code (and I am assuming your php is running, you are not able to just locate the php.ini file)
运行此代码(我假设您的 php 正在运行,您无法找到 php.ini 文件)
<?php
phpinfo();
?>
And check the location of the config file:
并检查配置文件的位置:



