高手进来!wind2003服务器问题?

来源:百度知道 编辑:UC知道 时间:2024/05/27 02:01:26
服务器隔段时间总出现“PHP has encountered an Access Violation at 0210AEDE” 然后报500错误!

重启一下应用程序池就好了!怎么才能彻底解决!

IIS6.0+MYSQL5.0+PHP5.2.6+WIND2003

请勿粘贴复制!网上有的我都试过了,不好使,大家尽快回答哦!要不然分就没了,先谢谢了!

这是php的bug,php官方已经给出说明了。

PHP5TS.DLL causes w3svc crash and application pool termination
http://bugs.php.net/bug.php?id=37483
BEST: Remove php5isapi.dll from IISAPI filters
(but leave dll in the .php mapping in the "application settings" Configuration).
BEST: Downgrade to PHP 5.0.3 solves problem

Worker process crashes after application pool recycle
http://bugs.php.net/bug.php?id=36853
BEST: DEP needs to be restarted clean so an IIS restart is not enough (masks problem only??)
BEST: Even with all PHP dynamic extensions turned off, crash occurs during IISreset or w3svc service restart.
BEST: back level server to .NET 1.0

官方建议最好的解决方案是:

1.把php版本降到5.0.3。
2.把iis的framework改回到.net 1.0
当然还有一个建议,不要用iis~~~呵呵,用fast