Install PHP 7.3 in CentOS 8

CentOS 8 comes with PHP 7.2. To install PHP 7.3, you need to enable remi repo. You can download remi-release rpm file from

Download and install remi-release rpm

if you have older php version and don’t want to keep it, uninstall it with

Install PHP 7.3

Set it as default PHP version

Install PHP modules

Install php-fpm package

set php-fpm to start on boot

Start php-fpm

Restart Apache

PHP 7.3 php.ini located at

Module directory for PHP 7.3 at

Related Posts

CentOS 8


Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *