Skip to content

How to use it with the plain psr-15? #1179

Open
@erickskrauch

Description

I can't make it running. I'm getting the error

PHP Fatal error:  Maximum call stack size of 8339456 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached during compilation. Try splitting expression in /home/erickskrauch/projects/elyby/skins-renderer/src/index.php on line 2  {"syslog_level": "notice"}

While the line 2 is declare(strict_types=1); 🙃

<?php
declare(strict_types=1);

use Ely\SkinsRenderer\Application;
use Psr\Http\Server\RequestHandlerInterface;

require __DIR__ . '/../vendor/autoload_runtime.php';

return static function(array $context): RequestHandlerInterface {
    return new Application();
};

I'm trying to run both on Linux native and in Docker.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions