Repository navigation
How to resolve composer install complaint "Your lock file does not contain a compatible set of packages." #70
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
The documentation states:
To install the project, clone it from GitHub and install the PHP dependencies using Composer:
git clone git://github.com/pdsinterop/php-solid-server.git \
&& cd php-solid-server \
&& composer install --no-dev --prefer-dist
But when this is run, errors appear
Full log
git clone https://github.com/pdsinterop/php-solid-server.git && cd php-solid-server && composer install --no-dev --prefer-dist
Cloning into 'php-solid-server'...
remote: Enumerating objects: 1413, done.
remote: Counting objects: 100% (296/296), done.
remote: Compressing objects: 100% (88/88), done.
remote: Total 1413 (delta 229), reused 249 (delta 205), pack-reused 1117 (from 1)
Receiving objects: 100% (1413/1413), 429.49 KiB | 4.57 MiB/s, done.
Resolving deltas: 100% (776/776), done.
Installing dependencies from lock file
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 ^7.3 but your php version (8.4.17) does not satisfy that requirement.
Problem 2
- laminas/laminas-diactoros is locked to version 2.8.0 and an update of this package was not requested.
- laminas/laminas-diactoros 2.8.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.4.17) does not satisfy that requirement.
Problem 3
- laminas/laminas-httphandlerrunner is locked to version 1.5.0 and an update of this package was not requested.
- laminas/laminas-httphandlerrunner 1.5.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.4.17) does not satisfy that requirement.
Problem 4
- laminas/laminas-zendframework-bridge is locked to version 1.4.0 and an update of this package was not requested.
- laminas/laminas-zendframework-bridge 1.4.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.4.17) does not satisfy that requirement.
Problem 5
- lcobucci/jwt is locked to version 3.3.3 and an update of this package was not requested.
- lcobucci/jwt 3.3.3 requires php ^5.6 || ^7.0 -> your php version (8.4.17) does not satisfy that requirement.
Problem 6
- mjrider/flysystem-factory is locked to version v0.5.1 and an update of this package was not requested.
- mjrider/flysystem-factory v0.5.1 requires php ~7.0 -> your php version (8.4.17) does not satisfy that requirement.
Problem 7
- pdsinterop/flysystem-rdf is locked to version v0.3.0 and an update of this package was not requested.
- pdsinterop/flysystem-rdf v0.3.0 requires php ^7.1 -> your php version (8.4.17) does not satisfy that requirement.
Problem 8
- pdsinterop/solid-auth is locked to version v0.6.3 and an update of this package was not requested.
- pdsinterop/solid-auth v0.6.3 requires php ^7.3 -> your php version (8.4.17) does not satisfy that requirement.
Problem 9
- pdsinterop/solid-crud is locked to version v0.3.1 and an update of this package was not requested.
- pdsinterop/solid-crud v0.3.1 requires php ^7.3 -> your php version (8.4.17) does not satisfy that requirement.
Problem 10
- league/oauth2-server is locked to version 8.1.1 and an update of this package was not requested.
- lcobucci/jwt 3.3.3 requires php ^5.6 || ^7.0 -> your php version (8.4.17) does not satisfy that requirement.
- league/oauth2-server 8.1.1 requires lcobucci/jwt ^3.3.1 -> satisfiable by lcobucci/jwt[3.3.3].
$:/www/downloads/php-solid-server$ composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php ^7.3 but your php version (8.4.17) does not satisfy that requirement.
Problem 2
- Root composer.json requires laminas/laminas-httphandlerrunner ^1.5 -> satisfiable by laminas/laminas-httphandlerrunner[1.5.0].
- laminas/laminas-httphandlerrunner 1.5.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.4.17) does not satisfy that requirement.
Problem 3
- Root composer.json requires lcobucci/jwt 3.3.3 -> satisfiable by lcobucci/jwt[3.3.3].
- lcobucci/jwt 3.3.3 requires php ^5.6 || ^7.0 -> your php version (8.4.17) does not satisfy that requirement.
Problem 4
- Root composer.json requires pdsinterop/flysystem-rdf ^0.3 -> satisfiable by pdsinterop/flysystem-rdf[v0.3.0].
- pdsinterop/flysystem-rdf v0.3.0 requires php ^7.1 -> your php version (8.4.17) does not satisfy that requirement.
Problem 5
- Root composer.json requires laminas/laminas-diactoros ^2.8 -> satisfiable by laminas/laminas-diactoros[2.8.0, ..., 2.26.0].
- laminas/laminas-diactoros[2.8.0, ..., 2.14.0] require php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.4.17) does not satisfy that requirement.
- laminas/laminas-diactoros[2.15.0, ..., 2.17.0] require php ^7.4 || ~8.0.0 || ~8.1.0 -> your php version (8.4.17) does not satisfy that requirement.
- laminas/laminas-diactoros[2.18.0, ..., 2.25.2] require php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.17) does not satisfy that requirement.
- laminas/laminas-diactoros 2.26.0 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.17) does not satisfy that requirement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
Activity
Potherca commentedon Feb 10, 2026
Thank you for taking the time to report this!
As you can see in the pinned issue #56, PHP 8 is not yet supported. That is what is causing the errors you encounter during
composer install.Although the underlying PHP packages this project uses are still actively being maintained, this project is currently not receiving active development. Our current focus is on the multiuser-php-solid-server and the Solid Nextcloud plugin.
Depending on your desired outcome, I would suggest one of the following:
composer install --ignore-platform-reqsto get the defined versions of the dependencies installedcomposer.jsonfile to get newer versions of the dependencies installed[-]Documentation outdated, composer complains about broken dependencies: "Your lock file does not contain a compatible set of packages."[/-][+]How to resolve composer install complaint "Your lock file does not contain a compatible set of packages."[/+]nekromoff commentedon Feb 10, 2026