Apache CGI in user directory “End of script output before headers”

后端 未结 8 763
心在旅途
心在旅途 2021-02-04 17:10

I know there are some questions about this topic, but none seems to solve my issue. See this or this or this.

I\'m on Linux, Fedora21, and I\'m trying to enable per user

8条回答
  •  天涯浪人
    2021-02-04 17:54

    This error occurs when we use print in older way.

    print 'your test'
    

    It should be for later version of Python.

    print ('your test')
    

提交回复
热议问题