简体   繁体   English

php.ini 路径错误?

[英]php.ini wrong path?

Configuration File (php.ini) Path   C:\Windows
Loaded Configuration File   C:\php\php.ini 

I installed php on my windows server 2008 box.我在我的 windows 服务器 2008 盒子上安装了 php。 I'm pretty sure this path.我很确定这条路。 Any ideas how to correctly fix this issue?任何想法如何正确解决此问题?

I opened the php.ini in notepad and changed the timezone to: ;date.timezone = "Asia/Beirut"我在记事本中打开 php.ini 并将时区更改为:;date.timezone = "Asia/Beirut"

You need to remove the semicolon, which is the comment character in php.ini.您需要删除分号,它是 php.ini 中的注释字符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM