Page 1 of 1

Unexplained deletion of a PHP 8.1 module

Posted: Fri 7. Oct 2022, 09:55
by benkhouya
Hello,
I'm sure the cause of the problem is within KeyHelp

Server operating system + version
Ubuntu 20.04 (64 bit)

Server virtualization technology used
KVM

KeyHelp version + build number
22.2 (Build 2838)

Problem description / error messages
I had to manually install version 12.0.2 of the ioncube loader for PHP 8.1 since it is not installed by default by the KeyHelp panel.

I was able to use this module correctly for several weeks.

But this morning I was surprised by its deletion module directory :
/opt/keyhelp/php/8.1/lib/php/extensions/no-debug-non-zts-20210902/

& deleting the config file from the directory :
/opt/keyhelp/php/8.1/etc/conf.d/

This bug caused my site's encrypted source code to be exposed to unknown people, and I had to re-encode my site for PHP 7.4 and put the site back in PHP 7.4

Can you explain to me what is causing this problem and how to fix it?

Steps to reproduce
A manual installation of the ioncube loader 12.0.2 for PHP 8.1

PS. it will be really wise to add the ioncube 12 module in a very next update, especially since the life span of PHP 7.4 is very close.

Re: Unexplained deletion of a PHP 8.1 module  [SOLVED]

Posted: Fri 7. Oct 2022, 10:15
by Alexander
Hello,
Can you explain to me what is causing this problem and how to fix it?
The optional PHP interpreters are occasionally updated: https://changelog.keyhelp.de/?interpreter
These updates will overwrite your own configurations in the /opt/keyhelp/php/<VERSION> directory.

To prevent this, go to Configuration -> PHP Interpreters and uncheck the auto update checkbox for the desired interpreter. Than this Interpreter won't receive updates anymore.

---
PS. it will be really wise to add the ioncube 12 module in a very next update, especially since the life span of PHP 7.4 is very close.
There is a serious Bug in the 12.0.2 Interpreters which is still not fixed by the ioncube Devs (even I talked to them about this since August 17th...). As long as this is not fixed, the all PHP Version < 8.1 (also the system default PHP 7.4 for Ubuntu 20.04) will suffer from this bug.

I have explained it in the German area of this forum a bit more: https://community-keyhelp-de.translate. ... r_pto=wapp
(Google Translate crippled it a lot, maybe just copy the relevant texts into deepl.com)

Re: Unexplained deletion of a PHP 8.1 module

Posted: Fri 7. Oct 2022, 10:18
by benkhouya
Thank you very much for your answer.

Re: Unexplained deletion of a PHP 8.1 module

Posted: Fri 7. Oct 2022, 12:39
by 24unix
Alexander wrote: Fri 7. Oct 2022, 10:15 To prevent this, go to Configuration -> PHP Interpreters and uncheck the auto update checkbox for the desired interpreter. Than this Interpreter won't receive updates anymore.
Might there be the option to keep conf.d/custom.ini untouched?

I was surprised today that I had to reenable Xdebug on my dev system.