Skip to content

RuntimeException on PHP 5.5 with OPCache #7

@ossinkine

Description

@ossinkine

On first request the page is loaded successfully. But second time (page already in cache) fatal error is thrown:

RuntimeException: google\protobuf\FileOptions class does not find in .../vendor/protocolbuffers/protoc-gen-php/proto/autoload.php on line 55

Temporary solution:
Add to OPCache blacklist (opcache.blacklist_filename) the following line:

**/vendor/protocolbuffers/protoc-gen-php/proto/autoload.php

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