Score:0

Disable fpm only for one virtual host

br flag

I'm facing a problem that is turning me crazy! I have three PHP versions on my ubuntu 22.04 server: 7.4, 8.1 and 8.2 I set the whole system to work with 8.1 as default and I'm using 7.4 and 8.1 in different virtual hosts according to the version required by the platform installed in it. The settings I use for that are:

<FilesMatch "\.php$">
SetHandler "proxy:unix:/run/php/php7.4-fpm.sock|fcgi://localhost"
</FilesMatch>

and

<FilesMatch "\.php$">
SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost"
</FilesMatch>

And till here everything is ok. Now I need to use php7.4 without fpm only for one virtual host that has Prestashop installed in it, and it gives a lot of problems with an integration of a dropshipping platform. I looked for it on the whole web and I'm not able to find a solution. It looks like if I want to have different PHP versions on my server I must install the fpm.

Can you please help me?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.