分享

写回答

发帖

[提问] 我的Godaddy虚拟空间中为什么没有php.ini呢?

回答|共 21 个

add.c

发表于 2008-11-12 14:38:30 | 显示全部楼层

回复 10# 的帖子

不是linux主机就不要用php.ini    php.ini是linux主机用的

一路同行

发表于 2008-11-12 14:41:03 | 显示全部楼层

晕。。

wherearem

发表于 2008-11-12 14:41:47 | 显示全部楼层

谢谢add.c我又将以上内容重命名为php5.ini上传,结果仍无效,,,
RAKSmart

wherearem

发表于 2008-11-12 14:42:48 | 显示全部楼层

那我的php配置还有办法自己改动吗。
以下是godaddy针对此问题给我的邮件
  1. Dear Sir/Madam,

  2. The modules, "allow_url_fopen" and "allow_url_include" are available on your hosting account. You can enable them via a php5.ini file.


  3. If you are running Hosting Configuration 2.0, you can create custom .ini files for both PHP 4 (php.ini) and PHP 5 (php5.ini) in the root directory of your site. By default, only php.ini is automatically created during new account setup.

  4. Initialization files can be used to manage form, server, and environmental variables, server-side cookies, temporary directories, error display, and error logging.

  5. NOTE: php.ini and php5.ini files must be in the root directory to function properly. These files will not work if placed in subdirectories, whether or not they are aliased to the root directory.


  6. Unfortunately we do not support third party code, scripting or applications beyond ensuring proper connection strings are in place for database and hosting connectivity. You will need to perform online searches or contact the vendor of the software to find more information concerning your issue(s).
  7. Please let us know if we can help you in any other way.

  8. Sincerely,

  9. Eric P.   
  10. Online Support Technician
复制代码

add.c

发表于 2008-11-12 14:52:23 | 显示全部楼层

回复 14# 的帖子

可以自己改动。
被你搞昏掉了,你到底是linux主机还是windows

上面的英文意思已经在翻译版告诉你了

wherearem

发表于 2008-11-12 15:14:49 | 显示全部楼层

Operating System: Windows

不知为何,我的网站开始打不开了。。。用的discuz..http://hsfulicheng.cn/
测试的地址提示:Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
难道是因为我上传php5.ini搞的??我马上把我自己上传php5.ini删除,汗。其它的我可什么也没动。郁闷。
RAKSmart

add.c

发表于 2008-11-12 15:18:37 | 显示全部楼层

回复 16# 的帖子

windows主机不要装discuz。
discuz要用linux主机,另外php.ini在win主机里也不起作用。
你可以选择把主机切换到linux系统

wherearem

发表于 2008-11-12 15:21:02 | 显示全部楼层

我装的discuz是开始正常运行的,只是其中一个插件不能正常使用,

add.c

发表于 2008-11-12 15:24:12 | 显示全部楼层

回复 18# 的帖子

discuz在linux主机里完美运行,你为什么要在win主机里装的、

wherearem

发表于 2008-11-12 15:24:48 | 显示全部楼层

因为我还有.net和asp的程序也要用。。linux似乎不支持这两种。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则