Install PHP 7.2 in CentOS ISPConfig Server

First you need to install EPEL repo and REMI repo.

To install EPEL, run

To Install REMI repo, download RPM file for your OS from https://rpms.remirepo.net

For CentOS 6, run

For CentOS 7

Install PHP 7.2 with

Configure PHP-FPM

Find

Replace 9000 with unused port, i used

Restart/Enable PHP-FPM

For CentOS 7

For CentOS 6

Add PHP Version in ISPConfig

Login to ISPConfig, go to

System > Additional PHP Versions > Add new PHP version

ISPConfig Add New PHP Version

On Next Page, enter name.

In “FastCGI Settings” tab, fill following details

In “PHP-FPM Settings” tab, add

Changing a Sites PHP Version in ISPConfig

Go to sites, click on site you need to change PHP version.

On this page, you need to select value for “PHP” and “PHP Version”. Once changed, you need to wait a minute for the version change to happen. This is done by cronjob, that run every one minute.

You can manually execute the script if you want.

ispconfig

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

Leave a Reply

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