I have system with PHP 8.3 and PHP 7.1 installed. For now, my one and only domain is set to run on PHP 7.1, however for a single folder I want to run php 8.3
I found some old threads mentioning to do this:
Which does not work. I think it has to do with PHP-FPM. While I have php-fpm71, i do nothave php-fpm83 as far as i can tell (no config files for it found, probably because ive never actually deployed a domain usig it yet). PHP 8.3 is for sure installed on the system, becuase logged in throgh ssh if i do a simple php -v i get 8.3
I changed the above to 7.1 just to test and it does work again. Ive alternativly found suggetions to do
SetHandler application/x-httpd-alt-php83
SetHandler application/x-httpd-ea-php83
and neither of those work either.
Does anyone have an idea how to overcome this? It seems like the very top was the closest I could get however I got blunted by the FPM issue
I found some old threads mentioning to do this:
Code:
<FilesMatch "\.(php|php4|php5|php3|phtml)$">
SetHandler "proxy:unix:/usr/local/php83/sockets/admin.sock|fcgi://localhost"
</FilesMatch>
Which does not work. I think it has to do with PHP-FPM. While I have php-fpm71, i do nothave php-fpm83 as far as i can tell (no config files for it found, probably because ive never actually deployed a domain usig it yet). PHP 8.3 is for sure installed on the system, becuase logged in throgh ssh if i do a simple php -v i get 8.3
I changed the above to 7.1 just to test and it does work again. Ive alternativly found suggetions to do
SetHandler application/x-httpd-alt-php83
SetHandler application/x-httpd-ea-php83
and neither of those work either.
Does anyone have an idea how to overcome this? It seems like the very top was the closest I could get however I got blunted by the FPM issue