ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comHost and DomainHost & Domain (general)อยากอัพเดท PHP จาก 5.3.29 ไป 5.5+ ของ Centos 6.5 x86_64 ทำอย่างไรครับ
หน้า: 1 [2]  ทั้งหมด   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: อยากอัพเดท PHP จาก 5.3.29 ไป 5.5+ ของ Centos 6.5 x86_64 ทำอย่างไรครับ  (อ่าน 4173 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
thisontime
ก๊วนเสียว
*

พลังน้ำใจ: 8
ออฟไลน์ ออฟไลน์

กระทู้: 208



ดูรายละเอียด
« ตอบ #20 เมื่อ: 09 สิงหาคม 2015, 19:46:39 »

ทำตาม Link นี้ ผ่านแล้วครับ
https://www.mojowill.com/geek/...-5-6-on-centos-6-and-centos-7/

แต่พอ restart แล้ว failed ทำอย่างไรดีครับ

# service httpd restart

Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 10 of /etc/httpd/conf/extra/httpd-directories.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
                                                          [FAILED]


cp directadmin แน่ๆๆ

da ต้องอับแบบนี้

cd /usr/local/directadmin/custombuild
./build set php1_release 5.5
./build update
./build php n
./build rewrite_confs




ใช่ครับ ขอบคุณมากเลยครับแต่ว่า
./build php n
แล้วพอจบขึ้นแบบนี้ครับ

Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 10 of /etc/httpd/conf/extra/httpd-directories.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
                                                          [FAILED]
บันทึกการเข้า
AbuseMan
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 104
ออฟไลน์ ออฟไลน์

กระทู้: 1,103



ดูรายละเอียด เว็บไซต์
« ตอบ #21 เมื่อ: 09 สิงหาคม 2015, 19:50:53 »

update apache 2.2 เป็น 2.4 ด้วยน่าจะหายครับ
บันทึกการเข้า

ฟังเพลงออนไลน์ : เว็บเพลงออนไลน์ที่คุณขอฟังเพลงได้ด้วยตัวคุณเอง
ห้องแชท : บริการฟรีห้องแชทสำหรับติดเว็บ
เพลงใหม่ : เพลงใหม่ เพลงฮิต
บ้านคุ้มค่า : ลงประกาศขายบ้าน ที่ดิน พร้อมอัพเดทโครงการบ้านและคอนโดใหม่ที่น่าสนใจ
thisontime
ก๊วนเสียว
*

พลังน้ำใจ: 8
ออฟไลน์ ออฟไลน์

กระทู้: 208



ดูรายละเอียด
« ตอบ #22 เมื่อ: 09 สิงหาคม 2015, 20:00:42 »

update apache 2.2 เป็น 2.4 ด้วยน่าจะหายครับ

php -v

PHP 5.3.29 (cli) (built: Aug  9 2015 19:52:47)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.2.1, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

httpd -v

Server version: Apache/2.2.31 (Unix)
Server built:   Aug  9 2015 19:50:42


โค๊ด:
cd /usr/local/directadmin/custombuild
./build set php1_release 5.5
./build update
./build apache
./build php n
./build rewrite_confs

ทำไมไม่มีอะไรเปลี่ยนแปลงเลยหรอครับ
« แก้ไขครั้งสุดท้าย: 09 สิงหาคม 2015, 20:01:15 โดย thisontime » บันทึกการเข้า
iCafe
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 123
ออฟไลน์ ออฟไลน์

กระทู้: 1,822



ดูรายละเอียด เว็บไซต์
« ตอบ #23 เมื่อ: 10 สิงหาคม 2015, 09:56:33 »

ขอดู /usr/local/directadmin/custombuild/options.conf
บันทึกการเข้า

thisontime
ก๊วนเสียว
*

พลังน้ำใจ: 8
ออฟไลน์ ออฟไลน์

กระทู้: 208



ดูรายละเอียด
« ตอบ #24 เมื่อ: 10 สิงหาคม 2015, 14:45:57 »

ขอดู /usr/local/directadmin/custombuild/options.conf

ตอนนี้ได้แล้วครับ หลังจากไป update custombuild ไปเป็น 2.0

ขอบคุณมากๆครับ
บันทึกการเข้า
หน้า: 1 [2]  ทั้งหมด   ขึ้นบน
พิมพ์