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 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘