zendtech / ZendOptimizerPlus

Other
914 stars 142 forks source link

Zend OpCache Premature End of Script Headers #186

Open benwis opened 10 years ago

benwis commented 10 years ago

Whenever I enable the opcache, I get 500 internal server errors for almost all our pages in a Wordpress install. I'm not sure if it's a bug or not, but it's unusable for us in its current state. Let me know if you could use any more date php -v PHP 5.4.29 (cli) (built: Jun 9 2014 11:43:06) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

php.ini extension=opcache.so zend_extension="/usr/local/Zend/lib/Guard-6.0.0/php-5.4.x/ZendGuardLoader.so" zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20100525/opcache.so" opcache.memory_consumption=256 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=0 opcache.fast_shutdown=1 opcache.enable_cli=1 opcache.enable=1 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000

apache logs [Wed Jun 11 12:40:28 2014] [error] [client 130.65.123.3] Premature end of script headers: op.php

We get a variety of those errors for every php file we have, from index.php to wp-login.php.

Is it a bug or am I setup wrong?

Thanks

lazy404 commented 10 years ago

opcache won't work with ionCube enabled, Zend Guard Loader might also be problematic

towe75 commented 10 years ago

Hi,

is there any official statement from Zend inc. about the OSS zendoptimizer+ / opcache in combination with the Zend Guard Loader? The available guard loader documentation is not very helpful regarding working/supported combinations.

In other words: can i use vanilla php with opcache and zend guard loader?

Thanks