PhpSwitcher - FCGI: attempt to connect to Unix domain socket failed

  • Hello,


    i am using i-mscp 1.5.3 and just installed PhpSwitcher 4.0.3 Plugin which went fine I think. Control Panel and php.ini says running even with ioncube loaded. e.g (PHP 7.0)


    But i get a 503 error on the changed webseite. (I changed to: PHP Version 7.0.25)


    My /var/log/apache2/abc.domain.de/error.log says:


    Code
    1. [Tue May 22 22:11:46.104918 2018] [proxy:error] [pid 3630:tid 139988947691264] AH00959: ap_proxy_connect_backend disabling worker for (abc.domain.de) for 0s
    2. [Tue May 22 22:11:46.105089 2018] [proxy_fcgi:error] [pid 3630:tid 139988947691264] [client xx.xx.xxx.xx:56714] AH01079: failed to make connection to backend: httpd-UDS
    3. [Tue May 22 22:19:40.224621 2018] [proxy:error] [pid 7456:tid 139793300174592] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.1-fpm-abc.domain.de.sock (abc.domain.de) failed
  • [Tue May 22 22:19:40.224621 2018] [proxy:error] [pid 7456:tid 139793300174592] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.1-fpm-abc.domain.de.sock (abc.domain.de) failed

    You say that you changed PHP version to 7.0 while here, the PHP version invoved which is surely not running, is the system PHP version 7.1... You must check your setup because you have surely done some mistakes.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • yes i changed to PHP 7.0.25 for the website by using the PHP Switcher Plugin over Admin Panel


    PHP Switcher says:


    Code
    1. 7.0.25 /opt/phpswitcher/20180522/php7.0/bin/php-cgi /opt/phpswitcher/20180522/php7.0/sbin/psw7.0-fpm Ok
  • Give use access to the server please.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @TechnikOnkel


    Did you sorted out?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hey


    i tested again:


    Code
    1. cd <path_to_your_imscp_archive>perl imscp-autoinstall -dar httpd


    Installed the plugin over panel and activated it


    Changed to per site



    Code
    1. cd /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler
    2. perl php_compiler.pl all --auto-setup

    Setup of PHP