Install PHP 8.1.12 On CentOS Linux Release 7.9.2009 (Core).

Home » CentOS » Install PHP 8.1.12 On CentOS Linux Release 7.9.2009 (Core).
CentOS 5 Comments

Hi,

I am running CentOS Linux release 7.9.2009 (Core). I have enabled both epel and IUS repositories to install https://www.php.net/ChangeLog-8.php#8.1.12. It is not available.

Do I need to install and enable any other repository to install PHP 8.1.12?

#php -v PHP 8.1.12 (cli) (built: Oct 25 2022 17:30:00) (NTS gcc x86_64)
Copyright (c) The PHP Group Zend Engine v4.1.12, Copyright (c) Zend Technologies
with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies

Please guide me. Thanks in advance.

Best Regards,

Kaushal

5 thoughts on - Install PHP 8.1.12 On CentOS Linux Release 7.9.2009 (Core).

  • I have always used EPEL and IUS repositories which have never given me any issues related to any packages either in dev, qa, staging and prod environment. Can I still go ahead and use the remi repository for production environment?

    Please suggest and guide me. Thanks in advance.

    Best Regards,

    Kaushal

  • At Sat, 12 Nov 2022 22:47:13 +0530 CentOS mailing list wrote:

    I installed the Remi repo and upgraded to PHP 8.1.x (currently at PHP
    8.1.12-1), with hardly a problem (I needed to uninstall one 7.2 package and after the upgrade, reinstalled the 8.1 package).