分享

写回答

发帖

[提问] 美国GD空间N多网站都出问题了,请帮我看看,谢谢!

GoDaddy GoDaddy 3490 人阅读 | 12 人回复

发表于 2011-4-21 19:12:51 | 显示全部楼层 |阅读模式

美国GD空间上的网站首页出现Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'  是怎么回事?

另外一个网站后台登陆网址出现:Fatal error: Incompatible file format: The encoded file has format major ID 2, whereas the Optimizer expects 1; The encoded file was probably encoded by the Zend Guard for PHP 5 (zendenc5), and therefore cannot be run on PHP 4


还有一个网站首页也打不开 提示: Fatal error: Call to undefined function: mb_strlen()   删除index.php 或者网址后面加上index.html却可以正常打开

原来一直正常的呀 前几天GD空间打开速度很慢 然后就出现这样的问题了!

请教各位达人这是怎么回事?我应该怎么样做?请详细点介绍,我是菜鸟!在线等 万分感谢!!!

回答|共 12 个

cfzxist

发表于 2011-4-21 20:30:08 | 显示全部楼层

求救呀!
是不是跟升级zend有关?请指教!我的是Linux系统,另外gd空间后台显示php版本是5.x php探针显示的是4.4.9 到底什么怎么回事?

[ 本帖最后由 cfzxist 于 2011-4-21 08:37 PM 编辑 ]

kmxmxy

发表于 2011-4-21 20:43:08 | 显示全部楼层

你用什么网络

cfzxist

发表于 2011-4-22 09:49:34 | 显示全部楼层

怎么还没有人答复呀? 怎么办呀????

lwbo1987

发表于 2011-4-22 10:07:00 | 显示全部楼层

好像是你的程序必须php5以上才可以,不能运行在php4版本上,联系godaddy客服说你的PHP版本不是5,要求检查下

cfzxist

发表于 2011-4-26 15:21:01 | 显示全部楼层

还有其他问题吗?
我不懂英文 应该怎么样向gd公司反映这个问题?

lwbo1987

发表于 2011-4-26 15:52:00 | 显示全部楼层

回复 6# 的帖子

联系GoDaddy客服发ticket教程
翻译可以去翻译版块

cfzxist

发表于 2011-5-1 11:03:41 | 显示全部楼层

gd官方回复  斑竹帮我看看 我应该怎么办?要修改文件扩展名?

Dear Sir or Madam,


Thank you for contacting online support.

It appears that your hosting account is currently configured to run .php files under php 4. You can modify this from the Hosting Control Center.

WARNING: Changing the default behavior of file extensions in your hosting account can have unexpected results, possibly disabling installed software on your hosting account. This is an advanced feature and should be used by experienced users only.


Modify File Extension Behavior Using the File Extension Manager




Log in to your Account Manager.


From the Products section, click Web Hosting.


Next to the hosting account you want to use, click Launch.


In the Settings section of the Hosting Control Center, click the File Extensions Management icon.


Select the extension you want to modify and click the Edit (Pencil) icon.


Choose what application you want this extension to run under. When you're finished, click OK.




Calls to that extension will now be rendered in the application you selected.


Create a Custom File Extension


If you have an application that uses file extensions that are not listed in the Default Extensions area, you can create a custom extension and select which application you want that extension to run under.




Log in to your Account Manager.


From the Products section, click Web Hosting.


Next to the hosting account you want to use, click Launch.


In the Settings section of the Hosting Control Center, click the File Extensions Management icon.


Click Custom Extensions.


Click New Extension, the New Extension window displays.


Enter the extension and the application you want the extension to run under. When you are finished, click OK.




All calls made to your custom extension will now open in the application you specified.


NOTE: You cannot use this process to disable FastCGI on 4GH accounts. To see if you use 4GH, click here.

lwbo1987

发表于 2011-5-1 11:14:28 | 显示全部楼层

回复 8# 的帖子

按照godaddy给你的步骤修改
Log in to your Account Manager.


From the Products section, click Web Hosting.


Next to the hosting account you want to use, click Launch.


In the Settings section of the Hosting Control Center, click the File Extensions Management icon.


Select the extension you want to modify and click the Edit (Pencil) icon.


Choose what application you want this extension to run under. When you're finished, click OK.

cfzxist

发表于 2011-5-6 15:50:34 | 显示全部楼层

In the Settings section of the Hosting Control Center, click the File Extensions Management icon.

在主机控制中心设置部分,点击图标的文件扩展名管理。

修改扩展名有什么用? 怎么样修改? 网站的问题跟这有什么关系?
您需要登录后才可以回帖 登录 | 注册

本版积分规则