Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 5.2 with OPcache and ZendOptimizer v.3.3 #232

Open
renton- opened this issue Oct 19, 2017 · 0 comments
Open

PHP 5.2 with OPcache and ZendOptimizer v.3.3 #232

renton- opened this issue Oct 19, 2017 · 0 comments

Comments

@renton-
Copy link

renton- commented Oct 19, 2017

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 ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant