网站服务器切换php版本到5.5/5.6/7.0后一直报错,500错误,服务器是WIN2008,之前用低版本的PHP5.3/5.4都没有问题。分析一下,既然网站在低版本PHP一直没有问题,说明网站本身没有问题,切换到高版本后出现500错误,所以极有可能高版本PHP版本配置问题。

500错误PHP网站

问题描述:

win7下iis中php-cgi.exe – FastCGI 进程意外退出

错误提示:

HTTP 错误 500.0 – Internal Server Error

D:\phpStudy\phpf\php-cgi.exe – FastCGI 进程意外退出

解决win2008服务器网站从php5.3升级到php5.5/5.6/7.0后报500错误

研究发现,原来

服务器windows2008,php5.5 / php5.6,需要安装VC++运行库。

Microsoft Visual C++ 2017 Redistributable
x64: https://go.microsoft.com/fwlink/?LinkId=746572
x86: https://go.microsoft.com/fwlink/?LinkId=746571

Microsoft Visual C++ 2015 Redistributable
https://www.microsoft.com/zh-CN/download/details.aspx?id=53840

 

声明:本站文章除个人原创外,其他内容均为个人搜集整理,如整理过程中侵犯到您的著作权或其他权利,请联系告知,微信/QQ:93547942。