我在安装 Apache 时遇到问题,其中任何 POST 请求都会导致:
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
或者
Error 115 Connection Reset
我在下面设置了一个基本测试,apache 每次都失败。任何人都知道可能导致这种情况的原因吗?谢谢!
<?php
// Note: This is running on my localhost:8080
if(isset($_POST)) print_r($_POST);
?>
<!DOCTYPE html>
<body>
<form method="post" action="posttest.php">
<input type="text" name="test" value="test" />
<input type="submit" />
</form>
</body>