全部商品分类
推荐人 : admin 2012-01-03 11:42 技术分享 热度: 192 ℃ 0 条评论
Kloxo最新版本500错误的解决办法一则

由于Kloxo是linux为数不多的免费主机面板,并且新手朋友都很喜欢使用,上手也很容易,不知道从什么时候开始,升级最新版后会导致打不开网站,下面就是500的解决办法
现象:使用apache会显示500,使用lighttpd会空白页
原因:出现以上问题,是由Kloxo升级引起的问题,原因在于PHP5.2.17-13加入了对php-fpm的支持,升级后无法像之前版本那样直接调用php-cgi文件。
解决:SSH或Kloxo面板的命令控制台执行
yum downgrade php php-cli php-common php-devel php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-xml ?y
执行后会输出一长串字符,如下:
Loaded plugins: fastestmirror, protectbase
Repository ‘vz-base’ is missing name in configuration, using id
Repository ‘vz-updates’ is missing name in configuration, using id
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
* base: mirrors.kernel.org
* extras: mirrors.kernel.org
* updates: mirrors.kernel.org
0 packages excluded due to repository protections
Only Upgrade available on package: php-mcrypt-5.1.6-15.el5.centos.1.i386
Resolving Dependencies
?> Running transaction check
?> Package php.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-cli.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-cli.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-common.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-common.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-devel.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-devel.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-gd.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-gd.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-imap.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-imap.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-mbstring.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-mbstring.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-mysql.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-mysql.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-pdo.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-pdo.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Package php-xml.i386 0:5.1.6-27.el5_5.3 set to be updated
?> Package php-xml.i386 0:5.1.6-27.el5_7.4 set to be erased
?> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Downgrading:
php i386 5.1.6-27.el5_5.3 base 2.3 M
php-cli i386 5.1.6-27.el5_5.3 base 2.1 M
php-common i386 5.1.6-27.el5_5.3 base 153 k
php-devel i386 5.1.6-27.el5_5.3 base 503 k
php-gd i386 5.1.6-27.el5_5.3 base 117 k
php-imap i386 5.1.6-27.el5_5.3 base 54 k
php-mbstring i386 5.1.6-27.el5_5.3 base 995 k
php-mysql i386 5.1.6-27.el5_5.3 base 86 k
php-pdo i386 5.1.6-27.el5_5.3 base 65 k
php-xml i386 5.1.6-27.el5_5.3 base 97 k
Transaction Summary
================================================================================
Remove 0 Package(s)
Reinstall 0 Package(s)
Downgrade 10 Package(s)
Total download size: 6.4 M
Downloading Packages:
???????????????????????????
Total 6.7 MB/s | 6.4 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-common 1/20
Installing : php-pdo 2/20
Installing : php-cli 3/20
Installing : php 4/20
Installing : php-devel 5/20
Installing : php-mbstring 6/20
Installing : php-gd 7/20
Installing : php-mysql 8/20
Installing : php-imap 9/20
Installing : php-xml 10/20
Cleanup : php-xml 11/20
Cleanup : php-devel 12/20
Cleanup : php-cli 13/20
Cleanup : php-mbstring 14/20
Cleanup : php-gd 15/20
Cleanup : php-common 16/20
Cleanup : php 17/20
Cleanup : php-mysql 18/20
Cleanup : php-pdo 19/20
Cleanup : php-imap 20/20
Removed:
php.i386 0:5.1.6-27.el5_7.4 php-cli.i386 0:5.1.6-27.el5_7.4
php-common.i386 0:5.1.6-27.el5_7.4 php-devel.i386 0:5.1.6-27.el5_7.4
php-gd.i386 0:5.1.6-27.el5_7.4 php-imap.i386 0:5.1.6-27.el5_7.4
php-mbstring.i386 0:5.1.6-27.el5_7.4 php-mysql.i386 0:5.1.6-27.el5_7.4
php-pdo.i386 0:5.1.6-27.el5_7.4 php-xml.i386 0:5.1.6-27.el5_7.4
Installed:
php.i386 0:5.1.6-27.el5_5.3 php-cli.i386 0:5.1.6-27.el5_5.3
php-common.i386 0:5.1.6-27.el5_5.3 php-devel.i386 0:5.1.6-27.el5_5.3
php-gd.i386 0:5.1.6-27.el5_5.3 php-imap.i386 0:5.1.6-27.el5_5.3
php-mbstring.i386 0:5.1.6-27.el5_5.3 php-mysql.i386 0:5.1.6-27.el5_5.3
php-pdo.i386 0:5.1.6-27.el5_5.3 php-xml.i386 0:5.1.6-27.el5_5.3
Complete!

当您看到Complete就表明修复成功了,最好重启下VPS,主机码不建议使用kloxo的朋友频繁升级,能用就是最好了,升级后不一定出现什么未知错误,到时候就得不偿失了!

0 值得买! 0 不值得买! 0 位网友中有 0 位认为值得买!
声明:本文由( 主机优惠码 )原创首发

转载请保留链接: http://www.zhujima.com/364.html
RSS订阅请点击 : http://www.zhujima.com /feed

发表观点 已有0条评论
电子邮件地址不会被公开。 必填项已用 * 标注
姓名(*)
邮箱(*)
网站

暂时木有评论



快速登录

自动登录
北京催乳师 北京通乳 北京催奶师 北京通乳师 北京催奶师 北京催乳师 北京催乳