Home » Categories » Multiple Categories

Multiple PHP Versions - Installing PHP 7.4 and/or 8.0 on CentOS 7


enable epel repo

yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm && yum clean all

yum install php74 php74-php php74-build php74-runtime
yum install php74-php-{cli,dba,pdo,fpm,zip,gd,xml,mysqlnd,opcache}
yum install php74-php-{ast,bcmath,componere,dbg,devel,embedded,enchant,gmp,imap,intl,ioncube-loader,ldap,mbstring,odbc,pear,pecl-apcu,pecl-apcu-devel,soap,xmlrpc}
yum install php74-php-pecl-{imagick,imagick-devel,mcrypt,memcache,memcached,mysql,scrypt}

yum install php81 php81-php php81-build php81-runtime
yum install php81-php-{cli,dba,pdo,fpm,zip,gd,xml,mysqlnd,opcache}
yum install php81-php-{ast,bcmath,dbg,devel,embedded,enchant,gmp,imap,intl,ldap,mbstring,odbc,pear,pecl-apcu,pecl-apcu-devel,soap}
yum install php81-php-pecl-{xmlrpc,imagick,imagick-devel,mcrypt,memcache,memcached,mysql,scrypt}


Ref:

https://www.virtualmin.com/documentation/web/multiplephp/

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
How to show content (files) in directory in browser?
Viewed 459 times since Fri, Feb 5, 2021
Installing PHP Versions in Webmin
Viewed 597 times since Thu, Feb 4, 2021
Add cron jobs directly to Scheduled Cron Jobs
Viewed 470 times since Tue, Jul 19, 2022
Where is path for rh-php73 in CentOS
Viewed 758 times since Fri, Feb 5, 2021
Allow user to create database in a virtual domain
Viewed 439 times since Thu, Feb 4, 2021
Virtualmin - Installing PHP 7.4 and/or 8.0 on CentOS 7
Viewed 3499 times since Tue, Dec 28, 2021