java 502错误_PHPstorm 10.0.3错误502错误的网关(由于JavaVM?)

我已经在Windows机器上的Apache文件夹中安装了PHPstorm 10.0.3试用版和PHP,但是当我使用PHP解释器时,大约50-90%的时间出现错误502 Bad Gateway。

当这只是HTML页面时,它的工作时间为100%。

编辑:我要做的是“运行”我的template.php(或任何其他)文件,该文件随后出现在浏览器中,网址为:http:// localhost:63342 / htdocs / template.php

我已经测试过:PHP 7.0.2,PHP 5.3(ISS),第一个线程安全,第二个线程安全禁用,相同的结果。在Webstorm中,我的路径指向PHP-CGI.exe,这是不同主题中的问题。

通过单击,我只能找出有关正在发生的事情的提示:PHPstorm / Help / Show在资源管理器中登录。因此,每当出现错误502时,都会出现以下情况:

2016-01-14 09:57:21,510 [1084784]  ERROR - ins.io.ChannelExceptionHandler - PhpStorm 10.0.3  Build #PS-143.1770

2016-01-14 09:57:21,510 [1084784]  ERROR - ins.io.ChannelExceptionHandler - JDK: 1.8.0_51

2016-01-14 09:57:21,510 [1084784]  ERROR - ins.io.ChannelExceptionHandler - VM: Java HotSpot(TM) Server VM

2016-01-14 09:57:21,510 [1084784]  ERROR - ins.io.ChannelExceptionHandler - Vendor: Oracle Corporation

2016-01-14 09:57:21,510 [1084784]  ERROR - ins.io.ChannelExceptionHandler - OS: Windows 7

2016-01-14 09:57:21,511 [1084785]   INFO - ins.io.ChannelExceptionHandler - Channel will be closed due to error

2016-01-14 09:57:24,273 [1087547]  ERROR - ins.io.ChannelExceptionHandler - minimumReadableBytes: -2815 (expected: >= 0)

java.lang.IllegalArgumentException: minimumReadableBytes: -2815 (expected: >= 0)

at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1143)

at io.netty.buffer.AbstractByteBuf.skipBytes(AbstractByteBuf.java:731)

at org.jetbrains.io.Decoder.getBufferIfSufficient(Decoder.java:131)

at org.jetbrains.io.fastCgi.FastCgiDecoder.messageReceived(FastCgiDecoder.kt:56)

at org.jetbrains.io.Decoder.channelRead(Decoder.java:38)

at io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83)

at io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:163)

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:155)

minimumReadableBytes在记录之间变化。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值