zendtech / ZendOptimizerPlus

Other
915 stars 142 forks source link

undefined symbol: zend_new_interned_string #72

Closed ck-on closed 11 years ago

ck-on commented 11 years ago

First error I have seen after running the trunk from 3/18/2013

_Failed loading .../opcache.so: .../opcache.so: undefined symbol: zend_new_internedstring

Running on php-fpm 5.4 trunk from same date.

Been running for a week without problems and even after that error it seems like it is still humming along.

This error seems to appear in google previously going back a year or more from the original optimizer+ ?

dstogov commented 11 years ago

it must be something wrong with you PHP or opcache build (or you mix PHP versions).

ck-on commented 11 years ago

I'm still trying to hunt down the cause of this problem.

Failed loading ..../opcache.so: ..../opcache.so: undefined symbol: zend_new_interned_string

PHP 5.4.15-dev fpm-fcgi Centos 6.4 (php 5.4 trunk) Zend OPcache 7.0.2-dev (opcache trunk)

I should point out the opcache still works fine despite these errors and scripts are definitely being cached.

It only seems to happen when apache is restarted or apache spawns a child, despite php running as php-fpm independently of apache (and the httpd init does NOT restart php-fpm - the opcache uptime does NOT change when just apache is restarted).

The error only appears in the apache log and not the php-fpm log which normally contains a copy of all php errors?

I am not sure how to further isolate the problem.

Strangely restarting php by itself and not restarting apache has zero problems and does NOT cause the error.

Could this have something to do with the mod_fastcgi manager in apache sending something to php-fpm when mod_fastcgi initializes that it doesn't like?

zhoubeiqing commented 6 years ago

I also encountered this problem.