php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27755 PHP chrashes with ZendOptimizer 2.5.1
Submitted: 2004-03-29 10:39 UTC Modified: 2004-03-30 06:54 UTC
From: cryp at ctco dot lv Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.3.5 OS: Windows 2000
Private report: No CVE-ID: None
 [2004-03-29 10:39 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-29 10:42 UTC] 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-30 06:54 UTC] 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-04-01 06:32 UTC] developers at ioncube dot com
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 17 01:00:02 2025 UTC