LP客服的回复,看不懂啊,有关安装joomla出错的问题
Hello,At this time your installation directory is producing internal server errors due to improper server permissions
At Lunarpages, our servers are setup to use suPHP to parse php pages as CGI instead of an Apache module. If you are running a PHP-based script on your site and are receiving a 500 and/or 404 errors on your pages, it is likely you have one or more of the following occurring:
1. The permissions on some of the folders or files are 777 or 666. If this is the case, change them to either 755 (for folders) or 644 (for files)in Cpanel's File Manager (or using your local FTP client).
2. The files and/or folders are not owned by you. Certain applications having been run under php as an apache module may have files owned by the apache user of nobody. An indication that you don't own the files would be if you are unable to change their file permissions. To correct this, please provide your username or domain name, and provide the location of the folder or files that need to have your ownership.
3. Your .htaccess file has php_values or php_flags in it. This causes a 500 Internal server error when attempting to execute the script.
The php_values and php_flags will need to be removed from your .htaccess file (please make a backup of the .htaccess by copying its contents and saving it on your desktop as htaccess.txt). Take the contents removed from .htaccess and place it into a file you create called php.ini. Remember to remove the php_flag and php_value part before the directives as php.ini files do not require those in front of the values. You can always make the changes and ask us if the changed files are correct.
Because php.ini values are not shared across directories, you would need a separate php.ini file in each folder that has .htaccess or that requires the php_values or php_flags. In order to avoid doing this, you can place a line in the .htaccess file in your public_html folder to have all values in your public_html php.ini to be shared across all folder. This line would be the following:
suPHP_ConfigPath /home/username/public_html
Please let us know if you have any questions or require further assistance.
--
Kind Regards,
Tommy Wong
Phone: 1-714-521-8150 你是什么问题?
LP的空间无论装Joomla或者其他程序 不需要修改文件权限!要不反而会导致安装失败! 你好,
你安装进程出现错误是由于你不正确的服务器权限配置。
在我们LP,我们的服务器安装了suPHP(貌似一个解析器),用CGI的方式来解析PHP页面,替代了垃圾的APAche模块。如果你在网站上运行了一个基于PHP的脚本页面,发生了500或400错误,很可能是一个或多个以下原因造成:
1.某些目录或文件的权限的设置是666或777的,应该改成644和755,通过FTP来改。
2.文件或目录的权限拥有人不属于你,某一个应用程序已经运行在apache模块下面,他要求apache的用户nobody来运行(这里指linux的情况)。一个典型的例子是,如果你不属于这个文件的拥有人,你也不能通过FTP改变他们的权限。为了纠正这个错误,请提供用户名和域名,还要提供需要我们的垃圾技术员工来帮你改变权限文件或文件夹,知不知道。
3.你的 .htaccess文件里面包含了 php_values 或 php_flags 值,这样会促使一个500错误当执行php的时候。
这个 php_values 或 php_flags 值 必须你自己手工清除掉,清除前请做好备份,比如保存成另外一个 htaccess.txt,在.htaccess文件中不能包含php_values 和 php_flags,否则会出现500错误,如果有这样的语句,需要移动到php.ini文件,把这样的语句放到一个新的php.ini文件中。
php.ini 因为不是每个目录都共享生效,如果你的.htaccess文件里面包含了php_values 或 php_flags 值,你必须要把这样的值存在一个新的php.ini文件里面,然后把这个php.ini文件跟.htaccess放在一个目录。要避免每次都新写一个php.ini,你可以在.htaccess里面加上一句
suPHP_ConfigPath /home/username/public_html
如果你还有更多的问题和要求请让我们知道
Kind Regards,
Tommy Wong
电话: 1-714-521-8150
觉得好请加分:lol :lol垃圾技术人员!
不看内容我都知道楼主是把文件夹和文件权限改了 才会安装出错的! 疯狂 wrote on 2008-9-5 23:43 : http://www.advertcn.com/images/common/back.gif
:lol垃圾技术人员!
不看内容我都知道楼主是把文件夹和文件权限改了 才会安装出错的!
我上FTP传了Joomla 1.5.6,解压缩后,安装就出现错误了。
我其他什么也没干啊。。。。。。。。。 :funk: 现在改了权限,可以安装了
[ Last edited by punkxxx on 2008-9-6 00:27 ] 月光译的不错啊:) 呵呵 这个马马虎虎可以看懂 为什么不用LP自带的安装程序呢?。省事,简单。。。
页:
[1]