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.
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.
.... but you can change what version the plugin look for.
How can I do it and how safe is it?
Thanks for your advise.
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.
Just had to modify the PhpSwitcher to include PHP8x, and used the packaged version.
Just had to modify the PhpSwitcher to include PHP8x, and used the packaged version.
It worked, thx.
Does not work for me:
Because you tried the compiled version, and I used the packaged one...
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