修复方法:

  登陆进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则证明已经修复成功。

  另外,为了避免该情况继续发生,请进入Kloxo,常规设置,把“自动更新”的选项勾去掉并update保存。做完这些工作后,重启VPS就基本没有问题了。

标签: Lighttpd, KLOXO, 6.1.12, 500错误

添加新评论