Fresh install debian11 - problem php8.2 and ioncube  [SOLVED]

Discussions about the installation of KeyHelp.
Post Reply
albertgarcia
Posts: 3
Joined: Mon 23. Jan 2023, 12:16

Fresh install debian11 - problem php8.2 and ioncube

Post by albertgarcia »

I'm doing a install with a fresh debian 11 and it show error because the ioncube.

By default, the install tries to use php8.2, but the problem is that ioncube only supports php 8.1 (https://www.ioncube.com/loaders.php).

I've tried to manually force php 8.1 but then the control panel fails on start for the php versions.

It can be possible to change default php version of the installer to PHP 8.1 ? I think that all fresh installs will have the same problem with ioncube...

Code: Select all

You are about to install KeyHelp.
Running system checks...
Installing certificates...
Installing PHP...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Installing KeyHelp...
usermod: no changes
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.2.so:  /usr/local/ioncube/ioncube_loader_lin_8.2.so: cannot open shared object file: No such file or directory
/tmp/keyhelp.tar.gz                               100%[=============================================================================================================>]  16.18M  49.0MB/s    in 0.3s
Installing ionCube...
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.2.so:  /usr/local/ioncube/ioncube_loader_lin_8.2.so: cannot open shared object file: No such file or directory
/tmp/ioncube.tar.gz                               100%[=============================================================================================================>]  13.96M  45.0MB/s    in 0.3s
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.2.so:  /usr/local/ioncube/ioncube_loader_lin_8.2.so: cannot open shared object file: No such file or directory
Run /home/keyhelp/www/keyhelp/install/install.php --installer-version 1
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.2.so:  /usr/local/ioncube/ioncube_loader_lin_8.2.so: cannot open shared object file: No such file or directory

Parse error: syntax error, unexpected identifier "ionCube" in /home/keyhelp/www/keyhelp/install/install.php on line 5
User avatar
Florian
Keyweb AG
Posts: 789
Joined: Wed 20. Jan 2016, 02:28

Re: Fresh install debian11 - problem php8.2 and ioncube

Post by Florian »

Hallo,

the default PHP version in Debian 11 is 7.4.

So when it tries to install 8.2 there were changes in the sources.list
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
albertgarcia
Posts: 3
Joined: Mon 23. Jan 2023, 12:16

Re: Fresh install debian11 - problem php8.2 and ioncube  [SOLVED]

Post by albertgarcia »

The current versions:

/etc/apt/sources.list

Code: Select all

deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main
deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main
deb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main
deb http://deb.debian.org/debian bullseye-backports main
deb-src http://deb.debian.org/debian bullseye-backports main
/etc/apt/sources.list.d/php.list

Code: Select all

deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ bullseye main
I'm going to reinstall fresh debian 11 and try again... I will update post.
User avatar
Florian
Keyweb AG
Posts: 789
Joined: Wed 20. Jan 2016, 02:28

Re: Fresh install debian11 - problem php8.2 and ioncube

Post by Florian »

albertgarcia wrote: Mon 23. Jan 2023, 12:33

/etc/apt/sources.list.d/php.list

Code: Select all

deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ bullseye main
There you have the reason for your problems.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Ralph
Posts: 263
Joined: Mon 30. Mar 2020, 16:14

Re: Fresh install debian11 - problem php8.2 and ioncube

Post by Ralph »

just switch back to PHP7.4
albertgarcia
Posts: 3
Joined: Mon 23. Jan 2023, 12:16

Re: Fresh install debian11 - problem php8.2 and ioncube [SOLVED]

Post by albertgarcia »

Sorry about that. With a fresh Debian 11 install, the default version is PHP 7.4 and everything works perfect.
Post Reply