[CentOS] Install PHP 8.1.12 on CentOS Linux release 7.9.2009 (Core).

Sat Nov 12 17:17:13 UTC 2022
Kaushal Shriyan <kaushalshriyan at gmail.com>


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,