phpSwitcher 5.0.5 problem

  • Hello again guys,


    So, I managed to install corectly phpSwitcher 5.0.5, and installed php 7.2 using the following command :


    Code
    1. perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register 7.2

    Everything went well and php 7.2 got installed.


    Now the problem.


    In one of the domains, I switched from php5.6 (default on server) to php7.2

    Immediately the server gives an error when I try to access the webiste with the following error.log :


    Code
    1. [Fri Dec 20 22:42:07.421034 2019] [proxy:error] [pid 28306:tid 139852037216000] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php5.6-fpm-ishop24.com.sock (ishop24.com) failed
    2. [Fri Dec 20 22:42:07.421110 2019] [proxy_fcgi:error] [pid 28306:tid 139852037216000] [client x.x.x.x:7432] AH01079: failed to make connection to backend: httpd-UDS
    3. [Fri Dec 20 22:42:25.160050 2019] [proxy:error] [pid 28306:tid 139851609384704] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php5.6-fpm-ishop24.com.sock (ishop24.com) failed
    4. [Fri Dec 20 22:42:25.160116 2019] [proxy_fcgi:error] [pid 28306:tid 139851609384704] [client x.x.x.x:7505] AH01079: failed to make connection to backend: httpd-UDS


    So, for some reason, even after I switch to php 7.2, the website still tries to use php5.6-fpm.


    Any ideeas how to fix this ? The only reason I bought the plugin was because of this website requirements to use 7.2.


    Thank you.

  • Same problem here.

    Has nobody a clue?


    Edit: Seems like a solution:


    I downloaded latest stable i-MSCP (1.5.3-2018120800.tar.gz) and tried performing


    Code
    1. perl imscp-autoinstall -d

    Setup stalled with moaning about libss-dev, which gets pinned by the installer.


    I modified /etc/apt/preferences.d/imscp to contain this part:


    Code
    1. Package: openssl libssl1.1 libssl-dev
    2. Pin: release o=Debian,n=stretch
    3. Pin-Priority: 1002

    After that, the installer was working (but removed my modification of the apt pinning). Magic? :-)

    I don't care, all sites are online again.


    But PHP switcher ist a bit broken:


    pasted-from-clipboard.png

    But I don't care for the moment, merry Xmas ^^

    Edited once, last by tracer ().