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

Zend OpCache Premature End of Script Headers #186

Open
benwis opened this issue Jun 11, 2014 · 2 comments
Open

Zend OpCache Premature End of Script Headers #186

benwis opened this issue Jun 11, 2014 · 2 comments

Comments

@benwis
Copy link

benwis commented Jun 11, 2014

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
Copy link

lazy404 commented Jun 16, 2014

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

@towe75
Copy link

towe75 commented Aug 29, 2014

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

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

3 participants