Created
August 17, 2022 12:49
-
-
Save aditnanda/d210e197bbdbd0c13f53b4594a55db4a to your computer and use it in GitHub Desktop.
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
| [REMOVE ALL PHP FIRST] | |
| yum -y remove php* | |
| [INSTALL LIBZIP 5] | |
| sudo yum remove libzip5.x86_64 | |
| sudo yum install libzip5.x86_64 | |
| [INSTALL REPO] | |
| sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
| sudo yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm | |
| sudo yum -y install yum-utils | |
| sudo yum-config-manager --disable 'remi-php*' | |
| sudo yum-config-manager --enable remi-php80 | |
| sudo yum-config-manager --enable remi-safe | |
| [INSTALL PHP WITH EXTENSION] | |
| sudo yum install php php-{cli,fpm,mysqlnd,zip,devel,gd,mbstring,curl,xml,pear,bcmath,json,fileinfo,imagick,pgsql} --skip-broken |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment