尝试在本地更新WordPress时出现IIS 500错误

时间:2017-06-05 16:59:52

标签: php wordpress iis xdebug

我有一个奇怪的问题。

我正在本地更新插件以测试它不会破坏客户端站点上的任何内容但我不断收到500个错误,除非我在PhpStorm中运行xdebug侦听器。一旦打开监听器,插件就会完美更新。

500 Error

这些是来自inetpub的日志:

2017-06-07 09:28:54 127.0.0.1 POST /wp-cron.php doing_wp_cron=1496826836.9809379577636718750000 80 - 127.0.0.1 WordPress/4.7.3;+http://www.example.local http://www.example.local/wp-cron.php?doing_wp_cron=1496826836.9809379577636718750000 500 0 64 897829
2017-06-07 09:33:00 127.0.0.1 POST /wp-admin/update-core.php action=do-translation-upgrade 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:53.0)+Gecko/20100101+Firefox/53.0 http://www.example.local/wp-admin/update-core.php 500 0 258 781935

PHP日志中没有任何内容。

这是我的php.ini中的xdebug代码:

[XDebug]
; XDEBUG Extension
zend_extension = "C:\Program Files (x86)\PHP\v5.6\ext\php_xdebug-2.5.3-5.6-vc11-nts.dll"
xdebug.remote_enable=true
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\temp"
xdebug.idekey="PHPSTORM"

如果我发表评论并重新启动IIS,一切正常。

我有什么遗失的吗?

0 个答案:

没有答案