Khác biệt giữa các bản “Ghi chú VPS Centos and Plesk”
Từ ChipFC Wiki
(→Upgrade OS vendor PHP on CentOS 7) |
(→Upgrade OS vendor PHP on CentOS 7) |
||
Dòng 6: | Dòng 6: | ||
# Connect to the server using SSH. | # Connect to the server using SSH. | ||
# Enable EPEL repository: | # Enable EPEL repository: | ||
− | + | #:<syntaxhighlight># yum install epel-release</syntaxhighlight> | |
− | |||
# Download Remi repository package: | # Download Remi repository package: | ||
− | <syntaxhighlight># wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm</syntaxhighlight> | + | #:<syntaxhighlight># wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm</syntaxhighlight> |
− | |||
# Enable Remi PHP repo: | # Enable Remi PHP repo: | ||
− | <syntaxhighlight># rpm -ivh remi-release-7.rpm</syntaxhighlight> | + | #:<syntaxhighlight># rpm -ivh remi-release-7.rpm</syntaxhighlight> |
− | |||
# Make sure yum-utils package is installed and enable appropriate Remi repository. As an example to upgrade OS vendor PHP to version 7 enable the following repository: | # Make sure yum-utils package is installed and enable appropriate Remi repository. As an example to upgrade OS vendor PHP to version 7 enable the following repository: | ||
− | <syntaxhighlight># yum-config-manager --enable remi-php70</syntaxhighlight> | + | #:<syntaxhighlight># yum-config-manager --enable remi-php70</syntaxhighlight> |
− | |||
# Update php package: | # Update php package: | ||
− | <syntaxhighlight># yum update php</syntaxhighlight> | + | #:<syntaxhighlight># yum update php</syntaxhighlight> |
== Install ionCube Loader on a CentOS 7== | == Install ionCube Loader on a CentOS 7== | ||
https://www.rosehosting.com/blog/install-ioncube-loader-on-centos-7/ | https://www.rosehosting.com/blog/install-ioncube-loader-on-centos-7/ |
Phiên bản lúc 00:09, ngày 21 tháng 3 năm 2018
Upgrade OS vendor PHP on CentOS 7
https://support.plesk.com/hc/en-us/articles/115000438614-How-to-upgrade-OS-vendor-PHP-on-CentOS-7-
- Connect to the server using SSH.
- Enable EPEL repository:
# yum install epel-release
- Download Remi repository package:
# wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm
- Enable Remi PHP repo:
# rpm -ivh remi-release-7.rpm
- Make sure yum-utils package is installed and enable appropriate Remi repository. As an example to upgrade OS vendor PHP to version 7 enable the following repository:
# yum-config-manager --enable remi-php70
- Update php package:
# yum update php
Install ionCube Loader on a CentOS 7
https://www.rosehosting.com/blog/install-ioncube-loader-on-centos-7/