|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57667 bcompiled script make failed apache
Submitted: 2007-05-13 21:32 UTC Modified: 2009-11-23 12:45 UTC
From: acrozes at hotmail dot com Assigned:
Status: Suspended Package: bcompiler (PECL)
PHP Version: 5.2.1 OS: WIN XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: acrozes at hotmail dot com
New email:
PHP Version: OS:


 [2007-05-13 21:32 UTC] acrozes at hotmail dot com
The src file is :
echo "teste un truc";

And the bcompiled file of this file make failed apache http server 
(using wampserver 1.7.1)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-13 22:10 UTC] acrozes at hotmail dot com
It seems to be a compatibility problem with Zend Optimizer.
Disable Zend and apache don t fail:

 [2007-10-12 09:57 UTC] kmb at kai-m-becker dot de
Confirmed with WinXP
PHP Version => 5.2.3 (May 31 2007 09:36:39)
PHP Extension => 20060613
Zend Extension => 220060519 
(i.e. xampp 1.6.3a for Windows)

Test class 'a.php':
<? class A { public function b() { print "a!\n"; } } ?>

Test file:
$fh = fopen('a.phb', 'wb');
bcompiler_write_file($fh, "a.php");
print "compiled.\n";

print "loaded\n";

$x = new A();
print "constructed\n";

$x->b(); // <-- Windows: Access Violation
// Debugger says: 
// Unhandled exception in zendoptimizer.dll, 0227e7be

"zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll""
in php.ini makes the above work.
 [2009-11-23 12:45 UTC]
I'm pretty sure bcompiler won't work with Zend Optimizer.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 10:05:51 2022 UTC