国家儿童医学中心(上海) | 上海交通大学医学院附属上海儿童医学中心 | 心脏中心 官方知识平台

折腾半天,解决ss无法登陆问题

陆医生
📅 2010-07-25 · 👁 10 次浏览 · 💬 2 条回复
从前几日起,突然发现SS无法登陆,开始以为程序问题,将其升级到7.5,但问题依旧;

后来发现根目录下多出几个文件,包括php.ini、.php.ini.pre-logoff、_tool.php等,将其删除即解决了登陆问题;

此外因为修改了hotlink protection的设置,.htaccess文件也被系统设置所覆盖,所以最后静态配置功能全部失效。

因此:
1,不要修改根目录下面的文件结构;
2,不要盲目调整系统配置;
3,不要开启hotlink protection。

全部回复 (2)

陆医生 会员
📅 2010-07-25
从前几日起,突然发现SS无法登陆,开始以为程序问题,将其升级到7.5,但问题依旧;

后来发现根目录下多出几个文件,包括php.ini、.php.ini.pre-logoff、_tool.php等,将其删除即解决了登陆问题;

此外因为修改了hotlink protection的设置,.htaccess文件也被系统设置所覆盖,所以最后静态配置功能全部失效。

因此:
1,不要修改根目录下面的文件结构;
2,不要盲目调整系统配置;
3,不要开启hotlink protection。
LYF 会员
📅 2010-07-25
谢谢分享经验,原来这跟热链保护也有一定关系的啊.那这些多出来的文件是不是就是设置了hotlink产生的呀?
陆医生 会员
📅 2010-07-26
有可能是对于php config误操作造成:
Hostmonster PHP Configuration
If you are not familiar with these options, do NOT change them.
This can cause all PHP scripts on your site to stop functioning if misconfigured.
NOTES:
# If you have custom handlers specified in ~/public_html/.htaccess, changing these settings can overwrite them. If you are not sure, make a backup of ~/public_html/.htaccess before changing settings.
PHP5
All files with the extension .php will be handled by the PHP5 engine.
Current, most reliable and best performing version of PHP
PHP5 (Single php.ini)
Same as PHP5, but all subdirectories will use ~/public_html/php.ini
PHP5 (FastCGI)
All files with the extension .php will be handled by PHP5 FastCGI processes.
FastCGI for PHP makes all your PHP applications run through mod_fastcgi instead of mod_suphp. This eliminates the overhead of loading the PHP interpretor on every hit. Since it is always in memory ready for the next hit, the responses will be generated faster.

NO MODIFICATIONS to your existing PHP applications will be performed so you can easily enable and disable it at will.
# Questions? click question for more info What are the benefits of using FastCGI for PHP with your hosting account?
# What are the potential problems with FastCGI and why I might want to disable it for PHP?
# What are the differences between the options?

✏️ 写回复

登录后即可回复

👤 用户信息

加载中…