Author Topic: where is php-fpm stored for a domain?  (Read 1301 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
where is php-fpm stored for a domain?
« on: October 24, 2021, 08:49:19 AM »
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:
Code: [Select]
AddHandler application/x-httpd-php73 .phpBut 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

Offline
*
Re: where is php-fpm stored for a domain?
« Reply #1 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
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.

Offline
*
Re: where is php-fpm stored for a domain?
« Reply #2 on: October 26, 2021, 01:40:41 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

Offline
*
Re: where is php-fpm stored for a domain?
« Reply #3 on: October 26, 2021, 07:52:25 PM »
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.