简体   繁体   English

XAMPP 编辑 php.ini 文件后发生未知错误

[英]XAMPP Unknown Error Occured after editing php.ini file

I've been using the same XAMPP apache installation for a long time with no issue.我一直在使用相同的 XAMPP apache 安装很长时间没有问题。

Today I edited the php.ini file in order to try and resolve an issue in my application with file upload limit size and after saving the changes in the php.ini my apache server stopped working.今天我编辑了 php.ini 文件,以尝试解决我的应用程序中文件上传限制大小的问题,并且在保存 php.ini 中的更改后,我的 apache 服务器停止工作。 I restered XAMPP and it now says:我restered XAMPP 现在它说:

Unknown Error Occured in Application应用程序发生未知错误

I've tried reinstating the original state of the php.ini file with no success and I've restarted my machine also with no success.我尝试恢复 php.ini 文件的原始 state 没有成功,并且我重新启动了我的机器也没有成功。

I resolved this by simply uninstalling and reinstalling xampp.我通过简单地卸载并重新安装 xampp 解决了这个问题。

It seems that editing the php.ini with apache running was the cause of the issue.似乎是在运行 apache 的情况下编辑 php.ini 是问题的原因。

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

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