Skip to content

Instantly share code, notes, and snippets.

@kingoamino
Last active April 5, 2020 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kingoamino/4b6484954bd3e7a6d25a556947eb6cd8 to your computer and use it in GitHub Desktop.
Save kingoamino/4b6484954bd3e7a6d25a556947eb6cd8 to your computer and use it in GitHub Desktop.
Install PHP 7.3 on CentOS
#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