#27755 [Com]: PHP chrashes with ZendOptimizer 2.5.1

From: Date: Thu, 01 Apr 2004 11:32:22 +0000
Subject: #27755 [Com]: PHP chrashes with ZendOptimizer 2.5.1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57312@lists.php.net to get a copy of this message
ID: 27755 Comment by: developers at ioncube dot com Reported By: cryp at ctco dot lv Status: Bogus Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 4.3.5 New Comment: This problem appears to be due to an unnecessary and ill advised addition that was made to TSRM.c with release 4.3.5. This may have been fixed already in CVS, but the work around is to remove or otherwise disable the following lines that appear around line 161 in the said file: if (resource_types_table && resource_types_table[j].dtor) { resource_types_table[j].dtor(p->storage[j], &p->storage); } We can provide an explanation of why this addition is a problem if anyone in the PHP group is interested. ionCube Ltd. http://www.ioncube.com Previous Comments: ------------------------------------------------------------------------ [2004-03-30 06:54:45] cryp at ctco dot lv Actually, i've tryed different versions of optimizer, they all works fine for the php 4.3.4 and previos versions. This happens only with the php 4.3.5. I've tryed php 4.3.5RCx for testing, and the result was the same, apache crashes on startup. Windows XP users got the same problem. ------------------------------------------------------------------------ [2004-03-29 10:42:28] iliaa@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This is likely to be the problem with ZendOptimizer not PHP. ------------------------------------------------------------------------ [2004-03-29 10:39:13] cryp at ctco dot lv Description: ------------ Platform: Windows 2000. Web-server: Apache 1.3.29 PHP version: 4.3.5 If php installed as apache module, apache will crashes when service is starting. If php installed as CGI, apache starts normally, but all php files cause crashing of php.exe. It doesn't matter if the php file is encoded or not with ZendEncoder. I've tryed an old version of ZendOptimizer (2.1.0), the result was the same. There is no problems with PHP version 4.3.4. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27755&edit=1

« previous php.bugs (#57312) next »