Last active
December 24, 2024 07:46
-
-
Save developertugrul/ed20e46937b4c927d73cb2e73e4ab209 to your computer and use it in GitHub Desktop.
centos php8.1 installation
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
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-php81 | |
sudo yum repolist | |
sudo yum -y install php php-{cli,fpm,mysqlnd,zip,devel,gd,mbstring,curl,xml,pear,bcmath,json,opcache,redis,memcache} | |
sudo yum install php-xxx | |
option 2 | |
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-safe | |
sudo yum repolist | |
sudo yum install php81 | |
extensions : | |
sudo yum install php81-php-xxx | |
sudo yum install php81-php-{cli,fpm,mysqlnd,zip,devel,gd,mbstring,curl,xml,pear,bcmath,json,opcache} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment