Ho installato PHP (8.4) su Windows, senza usare XAMPP o simili.
Funziona tutto, tranne che nell'installazione delle librerie in un progetto che mi dava questo errore:
install --no-interaction
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Root composer.json requires PHP extension ext-yaml * but it is missing from your system. Install or enable PHP's yaml extension.
To enable extensions, verify that they are enabled in your .ini files:
- C:\php-8.4\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-yaml` to temporarily ignore these required extensions.
Failed to install packages for ./composer.json. Platform requirements are missing.
Praticamente devo installare la DLL corretta, e qui vediamo come fare.