raksmart活动促销

分享

写回答

发帖

太菜了,OSC碰到问题啦,能帮我看下嘛~~

互联网出海创业 互联网出海创业 4209 人阅读 | 4 人回复

发表于 2007-7-22 06:42:29 | 显示全部楼层 |阅读模式

我用的空间提供CPANEL,N久没上后突然发现出了OSC,多好呀,想试试看来着,可运行中出了点问题~在CPANEL下自动安装好后:

提示道"Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory."

于是~按照老大的安装指南F&A做了两步,先是在public_html/下建立php.ini(我就在里面打了register_globals = on,不知道对不对-_-)

因为我空间public_html目录下有.htaccess这个文件,我直接利用FTP软件在里面编辑在最下面加入"suPHP_ConfigPath /home/myusename/public_html"这段文字,不可思议的是,我重返OSC,打开网页居然是下面这段文字……一下变那么多啦~(P.S.我是装在子文件夹aaa下面,没有直接解放在根目录中,所以不晓得php.ini是否需要传到aaa下?--||再自我B4下)

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@77kaka.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request

这能解决吗?十分谢谢回复的各位~

[ 本帖最后由 eideeria 于 2007-7-22 06:43 AM 编辑 ]

回答|共 4 个

大漠孤狼

发表于 2007-7-22 10:16:49 | 显示全部楼层

你的空间用的是suPHP么,如果不是不是这样设置的,直接在.htaccess文件中设置就可以了

eideeria

发表于 2007-7-22 19:38:14 | 显示全部楼层

PERL道路向: /usr/bin/perl
Perl模块 按这查看
sendmail道路向: /usr/sbin/sendmail
Apache 版本 1.3.37 (Unix)
MySQL 版本 4.1.22-standard
PostgreSQL 版本 7.4.17  
PHP 版本 4.4.6
PHP版本 按这查看
PERL 版本 5.8.8
操作系统 Linux
Kernel版本 2.6.15.4
系统型号 i686
cPanel 版本 10.9.0-RELEASE-10737
cPanel 专业版本 1.0 (RC36)  
上次开机 4days, 13:02min
主机状态 按这查看

谢谢 这么快就回我了    我不晓得呀 什么suPHP的 我直接在.htaccess里加了那行字,跳出来是500 internal error

不知道这些信息能看出来吗,要么我再7问问空间商 又要用e文了……我看它的购买页面上我的机型ecommerce里osc明明是个钩钩嘛

[ 本帖最后由 eideeria 于 2007-7-22 07:39 PM 编辑 ]

大漠孤狼

发表于 2007-7-22 22:32:51 | 显示全部楼层

原帖由 eideeria 于 2007-7-22 07:38 PM 发表
PERL道路向: /usr/bin/perl
Perl模块 按这查看
sendmail道路向: /usr/sbin/sendmail
Apache 版本 1.3.37 (Unix)
MySQL 版本 4.1.22-standard
PostgreSQL 版本 7.4.17  
PHP 版本 4.4.6
PHP版本 按这查看
PERL ...

我那个安装是在suphp的环境下的设置
你用的哪里的空间

eideeria

发表于 2007-7-23 20:53:58 | 显示全部楼层

谢谢楼上的 事情已解决,顺便贴出来吧,给wirenine的用户个参考,虽然可能没啥人用,哈哈
1. Edit the .htaccess file in the public_html folder.

2. Add the following lines into the .htaccess file:

   php_flag register_globals on

3. Save the .htaccess file.

本来想换个主机商试试的,但万一封个IP还是比较麻烦的 现在在用的这个也挺满意的,客服非常好 而且还便宜哈

sevenstar

发表于 2009-7-10 13:31:56 | 显示全部楼层

多谢分享啦·
您需要登录后才可以回帖 登录 | 注册

本版积分规则