phpSwitcher just 7.4.0RC4! Realy?

  • Is there still an development or is the phpSwitcher already dead?

    My customers demanding php 7.4 stable and some starting to ask for PHP 8.0 and the phpSwitcher just offers 7.4.0RC4.

  • Wrong, PHPSwitcher even support PHP8 (installed on Debian 9.x, but not in used yet).


    You just have to search in the forum, but you can change what version the plugin look for.

    Any hint for the search terms?

    I've got all from sury related to PHP8, but

    perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register --packaged --packaged-only


    only updates up to 7.4.

  • Does not work for me:


  • nano /var/www/imscp/gui/plugins/PhpSwitcher/backend/PhpSwitcher.pm

    # change:

    for my $phpVersion ( qw/ 5.6 7.0 7.1 7.2 7.3 7.4 / ) {

    # to:

    for my $phpVersion ( qw/ 5.6 7.0 7.1 7.2 7.3 7.4 8.0 / ) {



    nano /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl

    #search for: End of life


    # replace:

    '7.4' => [ # End of life: December 2022 - Unreleased yet

    '7.4.0RC4', 'https://downloads.php.net/~derick/php-7.4.0RC4.tar.gz'

    ]


    # with


    '7.4' => '7.4.5', # End of life: 28 November 2022

    '8.0' => '8.0.1' # End of life: 26 November 2023


    # run

    perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register --packaged --packaged-only