VPS优惠信息,美国VPS推荐,便宜VPS,国外VPS评测,美国VPS代购,VPS新手教程 - 好VPS之聚 - KLOXO升级
KLOXO升级最新版本网站500错误的解决办法
由于KLOXO是linux为数不多的免费主机面板，所以相当多的朋友选择在VPS上安装此面板方便管理自己的网站，好VPS也在博客中做过一系列的安装和使用教程。最近，有不少朋友升级最新版本后反应一些问题，主要表现为网站无法打开了，在KLOXO后台使用apache的显示500，使用lighttpd的显示空白页。 出现上面的问题，是由KLOXO升级引起的问题，原因在于PHP5.2.17-13加入了对php-fpm的支持，升级后无法像之前版本那样直接调用php-cgi文件。下面，我们提供修复此问题方法。 登陆进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, protectbaseRepository ‘vz-base’ is missing name in configuration, using idRepository ‘vz-updates’ is missing name in configuration, using idSetting up Downgrade ProcessLoading mirror speeds from cached hostfile* base: mirrors.kernel.org* extras: mirrors.kernel.org* updates: mirrors.kernel.org0 packages excluded due to repository protectionsOnly Upgrade available on package: php-mcrypt-5.1.6-15.el5.centos.1.i386Resolving 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 ResolutionDependencies Resolved================================================================================Package Arch Version Repository Size================================================================================Downgrading:php i386 5.1.6-27.el5_5.3 base 2.3 Mphp-cli i386 5.1.6-27.el5_5.3 base 2.1 Mphp-common i386 5.1.6-27.el5_5.3 base 153 kphp-devel i386 5.1.6-27.el5_5.3 base 503 kphp-gd i386 5.1.6-27.el5_5.3 base 117 kphp-imap i386 5.1.6-27.el5_5.3 base 54 kphp-mbstring i386 5.1.6-27.el5_5.3 base 995 kphp-mysql i386 5.1.6-27.el5_5.3 base 86 kphp-pdo i386 5.1.6-27.el5_5.3 base 65 kphp-xml i386 5.1.6-27.el5_5.3 base 97 kTransaction Summary================================================================================Remove 0 Package(s)Reinstall 0 Package(s)Downgrade 10 Package(s)Total download size: 6.4 MDownloading Packages:——————————————————————————–Total 6.7 MB/s | 6.4 MB 00:00 Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning TransactionInstalling : php-common 1/20Installing : php-pdo 2/20Installing : php-cli 3/20Installing : php 4/20Installing : php-devel 5/20Installing : php-mbstring 6/20Installing : php-gd 7/20Installing : php-mysql 8/20Installing : php-imap 9/20Installing : php-xml 10/20Cleanup : php-xml 11/20Cleanup : php-devel 12/20Cleanup : php-cli 13/20Cleanup : php-mbstring 14/20Cleanup : php-gd 15/20Cleanup : php-common 16/20Cleanup : php 17/20Cleanup : php-mysql 18/20Cleanup : php-pdo 19/20Cleanup : php-imap 20/20Removed: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存在各种不适应的状况，所以，好VPS建议您勿盲目升级，并在KLOXO后台设定关闭自动更新。