VPS优惠信息,美国VPS推荐,便宜VPS,国外VPS评测,美国VPS代购,VPS新手教程 - 好VPS之聚 - KLOXO升级
type: channel
link: https://vpsok.net/tag/KLOXO%E5%8D%87%E7%BA%A7/
items: KLOXO升级最新版本网站500错误的解决办法

KLOXO升级最新版本网站500错误的解决办法
type: item
date: 2012-03-13T00:00:00+08:00
description: 由于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—> Packa…