Wrong fpm socket after upgrade

Discussion in 'ISPConfig 3 Priority Support' started by remkoh, Jun 26, 2025.

  1. remkoh

    remkoh Active Member HowtoForge Supporter

    Every time I upgrade ISPC I have to manually change fastcgi_pass in /etc/nginx/sites-available/ispconfig.vhost to the correct php version.
    For whatever reason it reverts to version 8.1, which isn't even installed.

    So million dollar question is, where does {fpm_socket} get the path from during upgrades?
    So far I can't find any 8.1 reverence anywhere. System default is 8.3
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which OS do you use and are you using a custom ispconfig vhost file?
     
  3. remkoh

    remkoh Active Member HowtoForge Supporter

    This system is running on Ubuntu 22.04 and no customization in this regard.

    Also tried cleaning up the /etc/php/8.1 folder as it is not installed anymore.
    But the upgrade recreates it with apps.conf and ispconfig.conf in fpm/pool.d

    Somehow the upgradescript thinks the system is running php8.1
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Hmm, ok. I'll have to check that in the updater.

    -- update --

    ISPConfig requires the default PHP version of the OS, which is PHP 8.1 for Ubuntu 22.04. Using other PHP versions as the default is not supported; that's why the PHP version switches back to 8.1. To use PHP 8.3, you might upgrade your system to Ubuntu 24.04.
     
    remkoh likes this.
  5. remkoh

    remkoh Active Member HowtoForge Supporter

    Ok, then I'll create custom nginx_apps.vhost.master and nginx_ispconfig.vhost.master files in /usr/local/ispconfig/server/conf-custom/install/ with the correct fpm path for now.
    A system upgrade needs to be well planned.
     

Share This Page