View Issue Details

IDProjectCategoryView StatusLast Update
0002284XdebugUncategorizedpublic2024-08-07 10:45
Reporteroldmodellflieger Assigned Toderick  
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.
Attached Files
PHP_Konfig.jpg (236,565 bytes)   
PHP_Konfig.jpg (236,565 bytes)   
Webbrowser_error.jpg (63,480 bytes)   
Webbrowser_error.jpg (63,480 bytes)   
hallo_world.php.encrypted (3,033 bytes)   
<?php //ICB0 74:0 81:5c1 82:8a4                                               ?><?php //002f2
// Ador Design
// www.ador-design.de
if(extension_loaded('ionCube Loader')){die('The file '.__FILE__." is corrupted.\n");}echo("\nScript error: the ".(($cli=(php_sapi_name()=='cli')) ?'ionCube':'<a href="https://www.ioncube.com">ionCube</a>')." Loader for PHP needs to be installed.\n\nThe ionCube Loader is the industry standard PHP extension for running protected PHP code,\nand can usually be added easily to a PHP installation.\n\nFor Loaders please visit".($cli?":\n\nhttps://get-loader.ioncube.com\n\nFor":' <a href="https://get-loader.ioncube.com">get-loader.ioncube.com</a> and for')." an instructional video please see".($cli?":\n\nhttp://ioncu.be/LV\n\n":' <a href="http://ioncu.be/LV">http://ioncu.be/LV</a> ')."\n\n");exit(199);
?>
HR+cPwuWwjQFzEuPLfb/zNHkgBUsVuRXnbdYFzI1a0dUrdvBxh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AIB+m==
hallo_world.php.encrypted (3,033 bytes)   
hallo_world.php.no_encrypted (339 bytes)   
<?php
/**
 * Created by PhpStorm.
 * User: hajo
 * Date: 01.08.2024
 * Time: 13:00
 */

// Mode waehlen, um das Script entsprechend passend vom Shop (automatisch) oder vom User (per Hand) zu starten
//define("CREATE_LICENCE_MODE", "CALLED_FROM_USER");
//define("CREATE_LICENCE_MODE", "CALLED_FROM_SHOP");

echo "Hallo World";
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.

Issue History

Date Modified Username Field Change
2024-08-01 12:49 oldmodellflieger New Issue
2024-08-01 12:49 oldmodellflieger File Added: PHP_Konfig.jpg
2024-08-01 12:49 oldmodellflieger File Added: Webbrowser_error.jpg
2024-08-01 12:49 oldmodellflieger File Added: hallo_world.php.encrypted
2024-08-01 12:49 oldmodellflieger File Added: hallo_world.php.no_encrypted
2024-08-01 13:05 derick Assigned To => derick
2024-08-01 13:05 derick Status new => resolved
2024-08-01 13:05 derick Resolution open => no change required
2024-08-01 13:05 derick Note Added: 0007028
2024-08-06 13:45 oldmodellflieger Status resolved => new
2024-08-06 13:45 oldmodellflieger Resolution no change required => reopened
2024-08-06 13:45 oldmodellflieger Note Added: 0007029
2024-08-07 10:45 derick Status new => resolved
2024-08-07 10:45 derick Resolution reopened => won't fix
2024-08-07 10:45 derick Note Added: 0007030