where is php-fpm stored for a domain?

Started by hanliong, October 24, 2021, 08:49:19 AM

Previous topic - Next topic

hanliong

I have tried to find at google, where actually CWP stores which PHP-FPM choosen by customer for his domain.
If we use PHP-CGI, we simply change it at .htaccess like this:
AddHandler application/x-httpd-php73 .php
But when we choose for example PHP 7.4 (FPM), it is not written in .htaccess.So, where does CWP store it? I want to check my customer uses which PHP-FPM version quickly without use phpinfo(); at his site.
we are web developer in Indonesia with address: Tatamedia Solusindo | web hosting with mutiple choices | discounted software store

studio4host

the easiest is to check webservers vhost conf apache/nginx if nothing is there related to php-fpm then it's php-cgi meaning default from switcher if not custom-defined in the .htaccess
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

hanliong

Quote from: studio4host on October 25, 2021, 08:01:50 AM
the easiest is to check webservers vhost conf apache/nginx if nothing is there related to php-fpm then it's php-cgi meaning default from switcher if not custom-defined in the .htaccess
Do you mean at this location for nginx /etc/nginx/conf.d/vhosts/[domain_name].conf?
we are web developer in Indonesia with address: Tatamedia Solusindo | web hosting with mutiple choices | discounted software store

studio4host

yes and apache as already said
/usr/local/apache/conf.d/vhosts/
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.