NGINX and additional php versions
Hello,
I configured ISPConfig to accept three versions of PHP:
PHP 5.4
Path to the PHP-FPM init script: /usr/sbin/php-fpm
Path to the php.ini directory: /etc
Path to the PHP-FPM pool directory: /etc/php-fpm.d
PHP 7.1
Path to the PHP-FPM init script: /opt/remi/php71/root/usr/sbin/php-fpm
Path to the php.ini directory: /etc/opt/remi/php71
Path to the PHP-FPM pool directory: /etc/opt/remi/php71/php-fpm.d
PHP 7.2
Path to the PHP-FPM init script: /opt/remi/php72/root/usr/sbin/php-fpm
Path to the php.ini directory: /etc/opt/remi/php72
Path to the PHP-FPM pool directory: /etc/opt/remi/php72/php-fpm.d
In the Website, when I select any of the PHP versions, the configuration of .vhost on the server doesn't change, continuing the default configuration. The change propagates between databases, the socket is created in the pool directory, but only the vhost configuration doesn't change.
location @php {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/lib/php5-fpm/web124.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors off;
}
I'm doing something wrong or is it a bug?
ISPConfig 3.1.11
CentOS 7.4
Edited by Diogo Braga