Greetings, I am running the latest version of ispconfig on ubuntu 20.04 . I have installed additional versions of php from a different repo and set them up in ispconfig -> Aditional php versions All work well without errors. The problem is that I cannot get php-fpm to work properly trough sockets. There are times when it works, there are times when it doesn't (reverts to ports). I have found a stable configuration that works when I check "Use Socket For PHP-FPM" . Is there a way to set this to be ON , by default when a website is added? Or does ispconfig configure php sockets only when certain configurations are met ? Could you please clarify what I am missing. I did find older discussions on this , but there were not helpful for my case. Thank you!
I've never seen such behavior on an ISPConfig system and using sockets for php-fpm is enabled by default when creating a site anyway in ISPConfig (and it has to be enabled when you want to use sockets as that's the purpose of this checkbox to switch between socket and port based config). I just started a fresh server and tested this, sockets are on and working always when a new site gets created from within ISPConfig. How do you create the websites? Maybe you use some third-party tool via ISPConfig API and that tool changes the settings.
Hello Till, Yes, indeed that was the cause. I am using the API. I have added the use socket flag to the api paramaters and it seems ok now . Thanks,