You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
weierophinney
added a commit
to weierophinney/zf-apigility
that referenced
this issue
Jul 9, 2015
This patch provides a new class, `ZF\Apigility\Application`, which
extends `Zend\Mvc\Application` to provide a try/catch block around the
route event. This addresses the concerns raised in zfcampus#83, as it means any
exception raised by a route listener will be caught and lead to
triggering the `dispatch.error` event. In the case of Apigility
applications, this will allow us to return problem details.
This patch provides a new class, `ZF\Apigility\Application`, which
extends `Zend\Mvc\Application` to provide a try/catch block around the
route event. This addresses the concerns raised in zfcampus#83, as it means any
exception raised by a route listener will be caught and lead to
triggering the `dispatch.error` event. In the case of Apigility
applications, this will allow us to return problem details.
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
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.
The text was updated successfully, but these errors were encountered: