Service Unavailable on laravel 9 in ubuntu 20.04 server

Discussion in 'Installation/Configuration' started by ralphot, Oct 9, 2022.

  1. ralphot

    ralphot Member

    I'm getting this error from the website:

    [Sun Oct 09 14:05:35.547998 2022] [proxy:error] [pid 18556] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/php7.4-fpm/web2.sock (*:80) failed
    [Sun Oct 09 14:05:35.548048 2022] [proxy_fcgi:error] [pid 18556] [client 192.168.1.1:59535] AH01079: failed to make connection to backend: httpd-UDS

    I have done systemctl restart php7.4-fpm no problem
    I know that the system needs PHP 8.0 and have Additional PHP Versions set in ispconfig

    If i create an index.html in public that works.
    Wonder what's wrong.
     
  2. ralphot

    ralphot Member

    Found the problem, had to do service php8.0-fpm restart. Then all works.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Then the settings for PHP 8 in additional php versions settings are probably wrong, most likely the wrong start script setting.
     
  4. ralphot

    ralphot Member

    Well, I have these settings:
    fast-cgi settings:
    Path to the PHP FastCGI binary /usr/bin/php-cgi8.0
    Path to the php.ini directory /etc/php/8.0/cgi
    php-fpm settings:
    Path to the PHP-FPM init script /etc/init.d/php8.0-fpm
    Path to the php.ini directory /etc/php/8.0/fpm
    Path to the PHP-FPM pool directory /etc/php/8.0/fpm/pool.d
    and it works now.
     

Share This Page