Skip to content

PHP 5.2 with OPcache and ZendOptimizer v.3.3 #232

@renton-

Description

@renton-

Hi,

I have a web hosting with tens thousands of web sites working on PHP 5.2. A part of them has encoded scripts that requires switched on the ZendOptimizer.
When I run PHP with both of these extensions I get a segfault.
I need the ZendOptimizer only as loader of encoded files and don't need any optimizations.
Can they work simultaneously? Maybe there are some undocumented options or can this problem be solved by OPCache patching?

Program received signal SIGSEGV, Segmentation fault.
0x00006511075da79d in zend_oe () from /opt/zend/current/lib/ZendOptimizer.so
(gdb) bt
#0  0x00006511075da79d in zend_oe () from /opt/zend/current/lib/ZendOptimizer.so
#1  0x000065110d341ca6 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/php-5.2.17-latest.mod/Zend/zend.c:1134
#2  0x000065110d2eb455 in php_execute_script (primary_file=0x73a1bee58320) at /usr/src/php-5.2.17-latest.mod/main/main.c:2037
#3  0x000065110d3c3080 in php_handler (r=0x17ee2b0) at /usr/src/php-5.2.17-latest.mod/sapi/apache2handler/sapi_apache2.c:639
#4  0x0000000000443fa6 in ap_invoke_handler ()
#5  0x00000000004740b8 in ap_process_request ()
#6  0x0000000000470b40 in ?? ()
#7  0x000000000044bc98 in ap_process_connection ()
#8  0x0000000000493d4f in ?? ()
#9  0x00000000004948d4 in ap_mpm_run ()
#10 0x000000000042c01f in main ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions