Adding new PHP version, webXXX.sock file not created automatically

Discussion in 'ISPConfig 3 Priority Support' started by Norman, May 13, 2021.

Tags:
  1. Norman

    Norman Member HowtoForge Supporter

    Hi,

    Following your guide to add additional PHP versions. https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/
    With php7.4 , for some reason the webXXX.sock (xxx being siteid) isnt always created when PHP version on the site is set to php-fpm and the new PHP version.

    Background:
    - Using latest ISPconfig3 stable version.
    - Debian Stretch (yes this will be updated to buster).

    What's the best way to force the .sock file to be created, and what can be wrong making it not create it?

    I switched to ondemand processing, disabled web socket waited for it to save. Nothing seemed to help.
    Then I found out that restarting the php7.4-fpm process manually creates the sock files.

    /etc/init.d/php7.4-fpm restart

    So it seems like ISPconfig3 isnt rotating the fpm service for some reason.
    Thanks in advance
     
    Last edited: May 13, 2021
  2. Norman

    Norman Member HowtoForge Supporter

    Edit, found issue. Init script in older howtoforge guide does not match current sury path to initscript.

    php-fpm7.4
    should be
    php7.4-fpm
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    ahrasis likes this.

Share This Page