Page 1 of 1

Fresh install debian11 - problem php8.2 and ioncube

Posted: Mon 23. Jan 2023, 12:22
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

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

Posted: Mon 23. Jan 2023, 12:25
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

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

Posted: Mon 23. Jan 2023, 12:33
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.

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

Posted: Mon 23. Jan 2023, 12:49
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.

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

Posted: Mon 23. Jan 2023, 13:52
by Ralph
just switch back to PHP7.4

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

Posted: Mon 23. Jan 2023, 14:13
by albertgarcia
Sorry about that. With a fresh Debian 11 install, the default version is PHP 7.4 and everything works perfect.