duanci1939 2012-01-10 03:43
浏览 66
已采纳

PHP 5.3.8 Wordpress CURL间歇性错误

I upgraded my IIS 7.5 web server to PHP 5.3.8 from PHP 5.2.17. After doing so, my Wordpress install started intermittently producing 500 errors:

HTTP Error 500.0 - Internal Server Error
C:\Program Files (x86)\PHP\v5.3\php-cgi.exe - The FastCGI process exited unexpectedly

Detailed Error Information

Module FastCGIModule
Notification ExecuteRequestHandler
Handler PHP53_via_FastCGI
Error Code 0x000000ff

I also run Drupal and the Zend Framework on this server, both of which use CURL, but these did not produce the error. As such, I'd say it's something specific to the Wordpress implementation of CURL.

I looked in the Windows application error log and found the following errors:

Faulting application name: php-cgi.exe, version: 5.3.8.0, time stamp: 0x4e537f4b
Faulting module name: php_curl.dll, version: 5.3.8.0, time stamp: 0x4e537f64
Exception code: 0xc0000005
Fault offset: 0x00036864
Faulting process id: 0x378
Faulting application start time: 0x01cccf17892cff0e
Faulting application path: C:\Program Files (x86)\PHP\v5.3\php-cgi.exe
Faulting module path: C:\Program Files (x86)\PHP\v5.3\ext\php_curl.dll
Report Id: ec31f1ab-3b0a-11e1-9d5f-005056b30014

  • 写回答

2条回答 默认 最新

  • dqzow3859 2012-01-10 22:52
    关注

    This appears to be a manifestation of the following PHP bug, introduced in 5.3.7 with a new version of cURL: https://bugs.php.net/bug.php?id=60576

    If you don't need the new features from the the new cURL version (such as reading certificates from a file specified in php.ini), download the relevant PHP 5.3.6 Zip file from http://windows.php.net/downloads/releases/archives/ and replace ext\php_curl.dll with the PHP 5.3.6 version.

    If you do need these features... that's an open question.

    Hope this helps someone!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突