Skip to content

Commit e61c5be

Browse files
committed
Added a minor note about Composer's plaform config
1 parent 7328eec commit e61c5be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup/_update_dep_errors.rst.inc

+8
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ the issue.
1919
2020
Or, you may have deeper issues where different libraries depend on conflicting
2121
versions of other libraries. Check your error message to debug.
22+
23+
Another issue that may happen is that the project dependencies can be installed
24+
in your local computer but not on the remote server. This usually happens when
25+
the PHP versions are different on each machine. The solution is to add the
26+
`platform`_ config option in your `composer.json` file to define the highest
27+
PHP version allowed for the dependencies (set it to server's PHP version).
28+
29+
.. _`platform`: https://getcomposer.org/doc/06-config.md#platform

0 commit comments

Comments
 (0)