Skip to content

Opcache loaded twice #455

Closed
Closed
@dkarlovi

Description

@dkarlovi
$ docker run --rm jakzal/phpqa:1.111.0-php8.4-alpine php -v
Cannot load Zend OPcache - it was already loaded
PHP 8.4.8 (cli) (built: Jun 25 2025 19:14:13) (NTS)
Copyright (c) The PHP Group
Built by https://github.com/docker-library/php
Zend Engine v4.4.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.8, Copyright (c), by Zend Technologies

Looking at the config, two separate files are trying to load the ext:

/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
/usr/local/etc/php/conf.d/opcache.ini

I'm not sure which one is the correct one.

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