Last active
April 5, 2020 17:20
-
-
Save kingoamino/4b6484954bd3e7a6d25a556947eb6cd8 to your computer and use it in GitHub Desktop.
Install PHP 7.3 on CentOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Update CentOS | |
Yum -y update | |
# Install Wget | |
yum -y install wget | |
# Enable the PHP 7.3 Remi repository | |
wget -q http://rpms.remirepo.net/enterprise/remi-release-7.rpm | |
wget -q https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
#Enable Remi and EPEL Repository | |
rpm -i remi-release-7.rpm epel-release-latest-7.noarch.rpm | |
yum-config-manager --enable remi-php72 | |
# Install or Upgrade to PHP 7 | |
yum install php -y | |
# check installation | |
php -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment