I have 2 files new files in ktalog “/usr/local/hestia/data/templates/web/php-fpm/” using them wywyając ich wywalać mi one of the installed version of php. displaying an error that the socket “here address” is already occupied and you can not run for example php8.1-fpm.
How to improve the configuration so that it does not interfere?
i cleared all php sokets for these 2 configurations.
i fire them initially on the default PHP-8_0 configuration.
check both sites work but throw an error
i switch both sites to their configurations:
PHP-8_0_platform-uat.tpl
PHP-8_0_platform.tpl
One page works the other has error 500
PHP-8.1 does not work
Error dump
"==> platform.openmind4zero.com.error.log <==
[Fri Aug 18 13:46:18.631549 2023] [proxy:error] [pid 3627785] (111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.0-fpm-platform.openmind4zero.com.sock (*:80) failed
[Fri Aug 18 13:46:18.631631 2023] [proxy_fcgi:error] [pid 3627785] [client 95.49.14.34:0] AH01079: failed to make connection to backend: httpd-UDS
Your explanation was very helpful but due to haste there are errors in it I will correct them maybe someone will find it useful.
To create a valid copy of the PHP-FPM template for HestiaCP.