...
Code Block | ||||
---|---|---|---|---|
| ||||
// ************* // Ubuntu 20 // ************* // this must be performed for all affected virtual hosts vi /etc/apache2/sites-available\pcr360_prod.conf // Add these line to the end of the virtual host (just before the </VirtualHost> tag) // Remember to use the appropriate PHP Version for the Virtual Host //# PHP 7.4 should be mapped to the environment that is not being updated (so still requires it) <FilesMatch \.php$> SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost" </FilesMatch> //# PHP 8.1 should be mapped to the environment being updated <FilesMatch \.php$> SetHandler "proxy:unix:/var/run/php/php8.1-fpm.sock|fcgi://localhost" </FilesMatch> |
...