Skip to content

Compiling directly from facade without sending an HTTP request #145

@franck-grenier

Description

@franck-grenier

Hello,
I'm trying to interact with my OPcache directly with your facade without sending an HTTP request.

I created custom commands with the same names to override yours. The commands seem to work. Compiling, getting the status and clearing do seem to occur correctly without any errors.

But, when I check the number of cached scripts, I can see that it doesn't change neither on compiling nor on clearing.

My Laravel version is 11.

My PHP runs in a Docker container. Naturally, I launch the artisan commands from within the container.

It works when I use your commands sending the HTTP requests with the token.

Do you think it should work ? Or maybe there is something I don't understand with PHP-FPM and OPcache.

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions