Kloxo 6.1.12 Internal Server Error 500

Cara nge-fix kan nya :

pastikan dulu versi php nya

php -v

atau

yum list php

jika versi php nya 5.2.17-13, dipastikan akan error 500 😀

setelah itu ikuti langkah-langkah di bawah ini :

# backup php.ini
cd /etc
yes | cp -rf php.ini php.ini.bck
cd /

# downgrade to get old version
rpm -e –nodeps php
rpm -e –nodeps php-cli
rpm -e –nodeps php-common
rpm -e –nodeps php-fpm
yum install php-5.2.17-1

# copy to old version
yes | cp -rf /usr/bin/php /usr/bin/php_pure
yes | cp -rf /usr/bin/php-cgi /usr/bin/php-cgi_pure

# make suphp call old version instead new one
cd /usr/local/lxlabs/kloxo/file/
yes | cp -rf etc_suphp.conf etc_suphp.conf.orig
sed -i ‘s/\/usr\/bin\/php-cgi”/\/usr\/bin\/php-cgi_pure”/’ etc_suphp.conf
cd /etc
sed -i ‘s/\/usr\/bin\/php-cgi”/\/usr\/bin\/php-cgi_pure”/’ suphp.conf

# restore php.ini
yes | cp -rf php.ini.bck php.ini

cd /

# back to upgrade
yum upgrade php*

reboot