COLO.in.th > คลังความรู้ > DirectAdmin > Update DirectAdmin to PHP 7.0 (CustomBuild)


Update DirectAdmin to PHP 7.0 (CustomBuild)




CentOS

yum update-y

Since you run the DirectAdmin control panel on your webserver, some packages are handled through CustomBuild. The next step is to update your PHP to version 7.0. So, we go to the right directory

cd /usr/local/directadmin/custombuild

Now you are in the right directory, let’s bump up that PHP version number:

./build set php1_release 7.0
./build update
./build php d

Your server should now be running version 7 of PHP! To verify the version number, paste the following code in your terminal:

php -v

The output should look similar to this one:

PHP 7.0.0 (cli) (built: Dec  4 2015 04:55:02) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies

 

 


บทความนี้มีประโยชน์กับคุณหรือไม่ ?

บันทึกสู่รายการโปรดของฉัน บันทึกสู่รายการโปรดของฉัน    พิมพ์หัวข้อนี้ พิมพ์หัวข้อนี้

Also Read
Install DirectAdmin on CentOS 7 (ดูรายละเอียด: 3464)
How to change your server IP address (ดูรายละเอียด: 2111)
5 ขั้นตอน การติดตั้ง DirectAdmin (ดูรายละเอียด: 2771)
How to PHP update -> version 5.x (ดูรายละเอียด: 1426)

Powered by WHMCompleteSolution

ภาษา: