Problems with multiple PHP and Debian 9

Discussion in 'Installation/Configuration' started by Maurizio, Oct 23, 2019.

  1. Maurizio

    Maurizio New Member

    Hello,

    I installed ISPConfig + multiple PHP using the two tutorials on howtoforge.
    We use Nginx as webserver, last version of ISPConfig
    Currently are installed: php-fpm 5.6, 7.1 and 7.2 plus there is installed php 7.0 (as Debian default).
    Adding multiple php versions is fine, but when I try to assign to a website a specific PHP version, the Nginx conf file point to a fpm port that is the default one + domain_id + 1 instead of pointing to the socket defined (i.e 8997 or 8999 or whatever)

    Could you help me ? Where I'm wrong ?

    Thanks
    Maurizio
     
  2. Steini86

    Steini86 Active Member

    Debian Default is currently 7.3, unless you use an oldstable version.

    - What socket have you defined
    - Are all desired php-fpm versions running?
    - Can you post the relevant lines of the nginx config which change?
    - Does it work, if you edit the nginx config file manually to the socket path?
     
  3. ahrasis

    ahrasis Well-Known Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There is nothing wrong, that's exactly as it has to be as each website runs under a different user and therefore has its own pool and own port so the sites don't connect to the default port.
     
    Maurizio likes this.
  5. Maurizio

    Maurizio New Member

    Doublechecked. It works. Sorry guys for wasting your time.
     

Share This Page