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

ioncube + xcache on PHP 5.5 Allowed memory size of 536870912 bytes exhausted #56

Open
michalbundyra opened this issue Jan 10, 2020 · 0 comments

Comments

@michalbundyra
Copy link
Member

When xcache + ioncube extensions are enabled on PHP 5.5, and I start php embedded web server, se what happens with apigility:

php -S 0.0.0.0:8080 -t /var/www/zend/apigility/v.1.4.0/public /var/www/zend/apigility/v.1.4.0/public/index.php

PHP 5.5.19 Development Server started at Sun Dec 7 01:33:35 2014
Listening on http://0.0.0.0:8080
Document root is /var/www/zend/apigility/v.1.4.0/public
Press Ctrl-C to quit.
[Sun Dec 7 01:33:37 2014] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 140645686686384 bytes) in Unknown on line 0


( ! ) Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 140645686686384 bytes) in Unknown on line 0

I saw this together Matthew Weier, in PHPConferenceBR. He he taught me xcache is not necessary if I use PHP 5.5, whereas in this version, PHP comes with Opcache.
Is not in fact a problem, but is a good thing to know why it happens.


Originally posted by @gpsa at zfcampus/zf-apigility#83

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