[英]500 internal server error php, how to solve?
I created a simple php webcrawler on my webhost, but after a while it gives a 500 internal server error.我在我的网络主机上创建了一个简单的 php webcrawler,但过了一会儿,它给出了 500 内部服务器错误。 Assuming the coding and permissions are good.. what can I do about it?
假设编码和权限都很好……我该怎么办?
I upgraded from shared hosting to VPS hosting, but it seems to give the error even sooner.我从共享主机升级到 VPS 主机,但它似乎更快地给出了错误。 I am really lost here.
我真的迷失在这里。
Follow these steps:按着这些次序:
-Enable the error reporting from php.ini file or by functions like - 启用来自 php.ini 文件或类似函数的错误报告
error_reporting(E_ALL);
ini_set('display_errors', '1');
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.