From e61c5be9979b1713083e353336a05b05d77856c0 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 22 May 2018 13:19:25 +0200 Subject: [PATCH] Added a minor note about Composer's plaform config --- setup/_update_dep_errors.rst.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup/_update_dep_errors.rst.inc b/setup/_update_dep_errors.rst.inc index f4af4f2b885..6eeb0d3f8d5 100644 --- a/setup/_update_dep_errors.rst.inc +++ b/setup/_update_dep_errors.rst.inc @@ -19,3 +19,11 @@ the issue. Or, you may have deeper issues where different libraries depend on conflicting versions of other libraries. Check your error message to debug. + +Another issue that may happen is that the project dependencies can be installed +in your local computer but not on the remote server. This usually happens when +the PHP versions are different on each machine. The solution is to add the +`platform`_ config option in your `composer.json` file to define the highest +PHP version allowed for the dependencies (set it to server's PHP version). + +.. _`platform`: https://getcomposer.org/doc/06-config.md#platform