View Issue Details

IDProjectCategoryView StatusLast Update
0002284XdebugUncategorizedpublic2024-08-07 10:45
Reporteroldmodellflieger Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionwon't fix 
PlatformAMD Ryzen 7 3700X 64 GBOSWindows 11 Pro 23H2OS Version22631.3958
Product Version3.3.2 
Summary0002284: PHP 8.2 does not work with ioncube and xdebug on Windows
Description

524 / 5.000
If a PHP script that is encrypted is executed with xdebug active, the following error occurs

Error: Secure connection failed
An error occurred while connecting to localhost. PR_CONNECT_RESET_ERROR
Error code: PR_CONNECT_RESET_ERROR

The website cannot be displayed because the authenticity of the received data could not be verified.
Please contact the owner of the website to inform him of this problem.

Scrpt runs with xdebug or ioncube alone.

Steps To Reproduce

Running a PHP script with active xdebug and ioncube

Additional Information

Until PHP 8.1 everything ran together
Error reproducible under PHP 8.2 and PHP 8.3

TagsNo tags attached.
Operating SystemWindows 11 Pro 23H2
PHP Version8.2.10-8.2.19

Activities

derick

2024-08-01 13:05

administrator   ~0007028

Running Xdebug at the same time with the closed-source ionCube module is not supported. Please contact ionCube support. If they have reasonably acceptable patches, I am willing to entertain them.

See also: https://xdebug.org/docs/compat#compat

oldmodellflieger

2024-08-06 13:45

reporter   ~0007029

Betreff: Re: [#DNW-144-72703]: Running an Ioncube encrypted PHP 8.2 script with active Xdebug aborts with an error!
Datum: Tue, 6 Aug 2024 13:44:04 +0100
Von: Alastair Telford ticket_reply@ioncube.com

Antwort an: ticket_reply@ioncube.com

An: fabian.bzdak@ador-design.de

Hi,

Firstly, please note that Xdebug could never be used with encoded files anyway i.e. you could not use Xdebug to debug encoded functions.

However, we are investigating the problem mentioned whereby a crash occurs when Xdebug is simply installed. We believe this is due to Xdebug using the new internal Observer API, introduced in PHP 8, which will cause a function to be examined even if it is encoded.

At present the only way of getting round this is to disable Xdebug when running encoded files.
Kind regards,

Alastair

derick

2024-08-07 10:45

administrator   ~0007030

It's still not something I am going to look at. It's for the ionCube people to fix it on there side, or provide me with a patch and test cases.