Unexpected Connection Reset: A PHP or an Apache issue?

后端 未结 8 575
时光说笑
时光说笑 2020-12-10 15:05

I have a PHP script that keeps stopping at the same place every time and my browser reports:

The connection to the server was reset while the page w

8条回答
  •  执念已碎
    2020-12-10 15:49

    I'd try setting all of the error reporting options

    -b on error batch abort
    -V severitylevel
    -m error_level

    and sending all the output to the client

    starting sql batch
    \n
    "; flush();
    passthru('sqlcmd -b -m -1 -V 11 -l 3 -E -S TYHSY-01 -d newtest201 -i "E:\PHP_N\M_Create_Log_SP.sql"');
    echo '
    done.'; flush();

提交回复
热议问题