8000 minor #9803 Added a minor note about Composer's plaform config (javie… · symfony/symfony-docs@6b0549a · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b0549a

Browse 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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup/_update_dep_errors.rst.inc

Lines 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