Wednesday, October 3, 2012

วิธีแก้ SuPHP บน Kloxo 6.1.12 ไม่ Work ขึ้น Internal Server Error 500

วิธีแก้ SuPHP บน Kloxo 6.1.12 ไม่ Work ขึ้น Internal Server Error 500

 รื่องโดยสรุปของปัญหานี้ก็มีอยู่ว่า SuPHP ของ Kloxo มันยังไม่สเถียรนั้นเองครับ วิธีแก้ไขเบื้องต้นตอนนี้ก็ทำได้โดย Downgrade version ของ PHP ลงมา
ขั้นตอน
1. ssh ไปยัง server ของคุณ
2. ใช้คำสั่ง

yum list php
ถ้ามันบอกมาว่าเป็นเวอร์ชัน php.i386(x86_64) 5.2.17-13 แสดงว่าคุณติดตั้ง patch ล่าสุด(แต่ไม่ work)แล้ว และนี่ก็เป็นสาเหตุทำให้เกิด error ดังกล่าวต้อง Downgrade มันลงมาซะ
3. ใช้คำสั่งนี้เพื่อ Downgrade ได้เลยครับ
yum downgrade php* --disablerepo=* --enablerepo=lxcenter-updates
4. ทีนี้ก็ลองกลับไปเลือก mode php ให้เป็น suphp ดูครับ แล้วก็อย่าเผลอสั่ง yum update อีกละ
ถ้าจะ update ระบบให้สั่ง yum upgrade เป็นราย package ไปแทนครับ
จบ


How to get SuPHP working on Kloxo 6.1.12



We all know that SuPHP is almost unusable in lastest version of Kloxo panel (6.1.12). You will always get an “Error 500″ after enabling “SuPHP” in you server. The cause for such error is the php-fpm patch in your latest php installation. Executing php-cgi calls directly will create problems for fastcgi for lighttpd & suphp for apache. The temporary solution for this problem is to get rid of the latest version and try downgrading your php.
Let’s Begin with Putty Commands:
01. First type “yum list php“, If you see “php.i386(x86_64) 5.2.17-13” then it means you have the latest version installed with the php-fpm patch. This is the one which is creating problem.
02. All you have to do is to downgrade your php installation. You can do that by typing “yum downgrade php*
What Will Happen Next?
It will downgrade your php installtion to “5.2.17-1″ and you can now use SuPHP with ease. Most of the people who were using WordPress platform for their content management (Like me) were having problems in installing plugins (Quick Cache etc) due to this new Kloxo update. I hope there will be a permanent solution in the near future.

Incoming search terms:

suphp kloxo error,kloxo 6 1 12 suphp,kloxo php type,kloxo suphp,kloxo suphp internal server error,kloxo suphp setup,kloxo wordpress 500,latest php version for kloxo 6 1 12,lxadmin 6 1 13 suphp,permalink suphp

One Response to “How to get SuPHP working on Kloxo 6.1.12”



แหล่งข้อมูล : http://www.dewesh.com/server-management/how-to-get-suphp-working-on-kloxo-6-1-12/

 

0 comments:

Post a Comment

 
Design by Laikeng | Bloggerized by Storesu - sutoday | Court