Skip to content

[Image] Php 8.5 - Magento 2 #107

@kristof-ringleff

Description

@kristof-ringleff

Version of Warden

0.15.0

Operating System and Installation Method

MacOS 26 via Brew

Image

php-fpm:8.5-magento2

Describe the Bug

Currently seeing this warning

Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/php/modules/opcache.so (/usr/lib64/php/modules/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/opcache.so.so (/usr/lib64/php/modules/opcache.so.so: cannot open shared object file: No such file or directory))

when executing php commands. I am guessing this line
https://github.com/wardenenv/images/blob/main/php-fpm/_base/context/etc/php.d/10-opcache.ini#L2
needs removing for php8.5 see below change in the migration guide:

https://www.php.net/manual/en/migration85.incompatible.php

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions