Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6b0549a

Browse filesBrowse files
committed
minor #9803 Added a minor note about Composer's plaform config (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Added a minor note about Composer's plaform config This is an alternative to #8278 ... we don't create a new article for this ... but we mention this problem and its solution because it's too common to ignore it. Commits ------- e61c5be Added a minor note about Composer's plaform config
2 parents fb6e275 + e61c5be commit 6b0549a
Copy full SHA for 6b0549a

File tree

1 file changed

+8
-0
lines changed
Filter options

1 file changed

+8
-0
lines changed

‎setup/_update_dep_errors.rst.inc

Copy file name to clipboardExpand all lines: setup/_update_dep_errors.rst.inc
+8Lines changed: 8 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.