Closed dbierer closed 3 years ago
I have the same problem. :/
If you add the --ignore-platform-req
flag, the installation proceeds OK. The problem has to do with minimum requirements in the dependent Composer packages. It appears that the installer installs all alternates (e.g. Aura DI, Twig, etc.) even if not selected. I had to manually edit the /config/config.php
file and comment out the unwanted providers. Once I did that, and used the option to ignore platform requirements everything went OK.
It is solved now - actually since 3.9.0 release.
Thanks for reporting.
Bug Report
Installation fails when running under PHP 8.0. Works OK when
--ignore-platform-req
option is added.Summary
When running create project on Linux and PHP 8.0, I choose all Laminas components (e.g. option 3) and also Whoops. The installation then stops and I get a series of Composer version conflict messages for components I did not choose. Not sure if the problem is that the installer ignores my choices and installs other versions (e.g. other DI containers, other routers, other template engines), or if there's another PHP 8 conflict in one of the dependent
composer.json::require
directives.Works OK when using the following syntax:
Current behavior
Here is the output from just now:
How to reproduce
Use any version of Linux running PHP 8.0 (I've tried it on 3 different versions of Linux):
Expected behavior
Expected behavior is a completed Mezzio skeleton app.