Fcgi vs FPM

Discussion in 'ISPConfig 3 Priority Support' started by yupthatguy, Nov 6, 2021.

  1. yupthatguy

    yupthatguy Member

    While troubleshooting the cURL problem I checked the apache logs and noticed something odd.

    Although all of my wp sites are set to php-fpm 7.4 inside of ISPConfig.... apcahe believes my sites are actually running fcgi.

    [Sat Nov 06 13:27:26.538923 2021] [proxy:debug] [pid 3828] proxy_util.c(2383): [client] AH00944: connecting fcgi://localhost/var/www/clients/client9/web19/web/wp-admin/admin-ajax.php to localhost:8000, referer: https://subsite6.tester1.example.com/wp-admin/site-health.php
    [Sat Nov 06 13:27:26.538928 2021] [proxy:debug] [pid 3828] proxy_util.c(2420): [client] AH02545: fcgi: has determined UDS as /var/lib/php7.3-fpm/web10.sock, referer: https://subsite6.tester1.example.com/wp-admin/site-health.php
    [Sat Nov 06 13:27:26.538978 2021] [proxy:debug] [pid 3828] proxy_util.c(2592): [client] AH00947: connected /var/www/clients/client9/web19/web/wp-admin/admin-ajax.php to httpd-UDS:0, referer: https://subsite6.tester1.example.com/wp-admin/site-health.php
    [Sat Nov 06 13:27:26.540331 2021] [proxy:debug] [pid 3828] proxy_util.c(2963): AH02823: FCGI: connection established with Unix domain socket /var/lib/php7.3-fpm/web10.sock (*)
    Inside of WP... of WP wordfence plugin also believes that I am running fcgi 7.3 ... I know that the base system of the server is php 7.3, but I thought that Domains >> Websites >> PHP / PHP Version was supposed to enable the site to run in the specified version.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What you posted shows that the site is using php-fpm as the endpoint of the connection is the PHP-FPM socket
    /var/lib/php7.3-fpm/web10.sock. The apache module that connects apache to php-fpm is named proxy_fcgi and that's where the word fcgi in the debug output comes from.
  3. yupthatguy

    yupthatguy Member

    ok.. thx for the clarification.. I saw fcgi and lost it... Also wordfence is recommending settings based on fcgi, so it was a little counter intuitive .... in any case the real problem is my other post about DNS... I run every test and narrowed the issue to DNS simply not resolving

Share This Page