Move /etc/opt/remi/php72/php-fpm.d/www.conf to /etc/opt/remi/php72/php-fpm.default.conf Edit it: Remove definition of pool name. Comment out the following lines: ;listen = 127.0.0.1:9000 ;php_admin_value[error_log] = /var/opt/remi/php70/log/php-fpm/www-error.log ;php_admin_flag[log_errors] = on
Uncomment/change the following settings: security.limit_extensions=.php .html listen.owner=apache listen.group=apache listen.mode=0660 pm.max_requests=500 pm.status_path=[copy from previous version]
Create settings for each domain: /etc/opt/remi/php72/php-fpm.d/*.conf use /etc/opt/remi/php71/php-fpm.d/*.conf as stub. Edit all files - change path to php72 in content of the file.
Run PHP-FPM: chkconfig php72-php-fpm on /etc/init.d/php72-php-fpm start