可能重复: Is setting the uploads folder 777 permision secure? 我使用WordPress我的新主机上,当我尝试安装一个插件,我得到这样的; Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 10026 is not
我上传了一个基本的python脚本到Dreamhost的共享主机,并将权限更改为777。它从shell(通过SSH)运行良好,但从浏览器调用时会显示“服务器错误”。 在error.log中,错误为'Premature end of script headers'。 我写信给DreamHost,他通过将权限更改为755进行回复,并且脚本在apache中正常工作(我可以在浏览器中看到输出)。 但这似乎