raksmart活动促销

分享

写回答

发帖

为什么我的LP空间绑定米后访问老出错

国外虚拟主机 国外虚拟主机 3748 人阅读 | 11 人回复

发表于 2007-11-9 23:35:37 | 显示全部楼层 |阅读模式

http://www.vk800.com
如果根目录放的是index.html,访问是正常的,如果放的是index.php,访问出错,会弹出一个下载啥的东东的窗口?不知道是什么原因,搞得好郁闷呀.哪位高人能解决这个问题不了?

回答|共 11 个

大漠孤狼

发表于 2007-11-9 23:59:30 | 显示全部楼层

linux主机么,这个提示感觉像是不能解析php文件

忧伤b小调

发表于 2007-11-10 00:01:18 | 显示全部楼层

是不是在CP面板开启了服务器压缩功能?

如果是,请取消.

goodfocus

发表于 2007-11-10 02:55:38 | 显示全部楼层

原帖由 大漠孤狼 于 2007-11-9 11:59 PM 发表
linux主机么,这个提示感觉像是不能解析php文件


是LP的linux主机,二楼忧伤b小调,请教如何关闭,第一次用CP面板。。。

goodfocus

发表于 2007-11-10 02:57:34 | 显示全部楼层

请问如何取消服务器压缩功能?

是不是在CP面板开启了服务器压缩功能?

如果是,请取消.
----------------
请问如何取消,谢谢

忧伤b小调

发表于 2007-11-10 11:04:58 | 显示全部楼层

在"Apache Handlers"里面设置的.

进去之后会发先一个下拉框,看看里面有没有".php"如果有,直接删掉.

大漠孤狼

发表于 2007-11-10 11:08:40 | 显示全部楼层

估计是mime类型设置的问题

goodfocus

发表于 2007-11-10 14:04:09 | 显示全部楼层

按忧伤b小调的方法处理,似乎可以用了,昨天 给LP客服去邮件,他们回复如下:
Hello Eric,

Please check the htaccess at your root public_html, you will need to remove the php code from there. I also noted you have a custom php.ini. To enable that you will need to add the following line to your .htaccess.

suPHP_ConfigPath /home/username/public_html/

where "username" is your cPanel username.

----------
他们提示第一步处理,功用和忧伤b小调说的是一样,不知道他们第二步还要不要操作,这个是啥功能来的呀:
I also noted you have a custom php.ini. To enable that you will need to add the following line to your .htaccess.

suPHP_ConfigPath /home/username/public_html/

where "username" is your cPanel username.

忧伤b小调

发表于 2007-11-10 15:15:50 | 显示全部楼层

LP的客服意思是,php.ini" 文件的配置也可能会影响.......(后面不说了...

---------

处理成功就可以了.

goodfocus

发表于 2007-11-10 16:38:52 | 显示全部楼层

谢谢大漠孤狼和忧伤b小调~~

知道这论坛为什么人气高了,因为有比较耐心的解释....谢谢啦。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则