相关疑难解决方法(0)

Apache中的"标题之前的脚本输出结束"错误

当我尝试访问我的Perl脚本时,Windows上的Apache给出了以下错误:

Server error!

The server encountered an internal error and was unable to complete your request.

Error message: 
End of script output before headers: sample.pl

If you think this is a server error, please contact the webmaster.

Error 500

localhost
Apache/2.4.4 (Win32) OpenSSL/1.0.1e PHP/5.5.3
Run Code Online (Sandbox Code Playgroud)

这是我的示例脚本

#!"C:\xampp\perl\bin\perl.exe"
print "Hello World";
Run Code Online (Sandbox Code Playgroud)

但不是在浏览器上工作

apache perl

18
推荐指数
6
解决办法
11万
查看次数

标签 统计

apache ×1

perl ×1