|周五7月30日20时53分33秒2010] |错误] | {客户端IP}] premature脚本标题的末尾:/home/siteroot/public_html/power/fckeditor/test.php [英] |Fri Jul 30 20:53:33 2010] |error] |client {IP}] Premature end of script headers: /home/siteroot/public_html/power/fckeditor/test.php

查看:107
本文介绍了|周五7月30日20时53分33秒2010] |错误] | {客户端IP}] premature脚本标题的末尾:/home/siteroot/public_html/power/fckeditor/test.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个问题已经向我报告,通过上传的FCKeditor将无法正常工作。用事实证明,在FCKeditor的文件夹中运行PHP文件将无法工作一些设置和错误500搞乱后返回。当我检查日志文件返回在主题的消息。该脚本很简单:

A problem has been reported to me that uploading through fckEditor will not work. After messing about with some settings it turns out that running php files in the fckEditor folder will not work and an Error 500 is returned. When I checked the log files the message in the subject was returned. The script is simple:

<?php
echo phpinfo();
?>

当我运行功率/ test.php的这个脚本,它的工作原理。这只是从内部FCKeditor的任何文件夹/不起作用运行脚本时。

When I run this script from power/test.php, it works. It's only when running scripts from any folder within fckEditor/ that doesn't work.

我使用PHP 5.2.9和Apache 42年3月1日。

I am using php 5.2.9 and Apache 1.3.42.

推荐答案

排序。

我想这将是向下权限,所以我放弃一切777思想,将占到一切。事实证明,我给很多权限,目录需要755文件需要644。

I thought this would be down to permissions so I gave everything 777 thinking that would account for everything. It turns out I gave to many permissions, directories need 755 and files need 644.

希望这可以帮助其他人。

Hope this helps someone else.

这篇关于|周五7月30日20时53分33秒2010] |错误] | {客户端IP}] premature脚本标题的末尾:/home/siteroot/public_html/power/fckeditor/test.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆