Additional php version using wrong socket?

Discussion in 'Installation/Configuration' started by Bhallspawn, Aug 23, 2017.

  1. Bhallspawn

    Bhallspawn New Member

    Hello
    First thing, I've read a lot about similar issues here but I haven't found exactly what I'm looking for so if someone could answer my question I would be thankful. Should be fast and easy.

    Anyway I'm using latest ispconfig on debian jessie with php 5.6 as default version.
    I have installed php 7.0 via dotdeb repo . I have added it on isp config as additional php.
    And it works fine.
    But there is one thing that I'm curios about. When im using php7 on websites it is using socket from php5 version.
    nginx vhost file and php pool file both use this socket
    /var/lib/php5-fpm/web6.sock (for instance) and not /var/run/php/web6.sock (this is php7 socket location, correct me if I'm mistaken).

    So for instance php pool line has this on top.
    listen = /var/lib/php5-fpm/web6.sock <----why is it using php5 version of socket if I'm using php7?

    My question is how to fix this? Does it need to be fixed? It works fine but I must be certain.

    Thank you for answer and sorry if it is answered somewhere, I couldn't find it.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not the socket of the PHP 5 version. This directory is used for all PHP versions, no matter if it is PHP 5 or 7. So there is no issues and that's why you could not find anything about it.
     
  3. Bhallspawn

    Bhallspawn New Member

    Thank you for your response.
     

Share This Page