Skip to content

php8 opcache inactive #7

Description

@seniskenis

Hi, How to enable opcache in php?
I tried to create php.ini in lib folder with contents:

[opcache]
opcache.enable = 1
zend_extension=opcache.so

but no luck...

error log:
Failed loading /data/data/com.termux/files/usr/lib/php/opcache.so: dlopen failed: cannot locate symbol "zend_signal_globals" referenced by "/data/data/com.termux/files/usr/lib/php/opcache.so"...

on php cli works fine:
php -i | grep opcache
opcache.enable => On => On

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions