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 9c620aa

Browse filesBrowse files
committed
minor #12892 Remove recommendation (fabpot)
This PR was merged into the master branch. Discussion ---------- Remove recommendation We do not recommend to alias php to symfony anymore. Commits ------- 10e6500 Remove recommandation
2 parents 98a5a51 + 10e6500 commit 9c620aa
Copy full SHA for 9c620aa

File tree

1 file changed

+1
-15
lines changed
Filter options

1 file changed

+1
-15
lines changed

‎setup/symfony_server.rst

Copy file name to clipboardExpand all lines: setup/symfony_server.rst
+1-15Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ to override:
133133
Running Commands with Different PHP Versions
134134
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135135

136-
When running different PHP versions it's useful to use the main ``symfony``
136+
When running different PHP versions, it is useful to use the main ``symfony``
137137
command as a wrapper for the ``php`` command. This allows you to always select
138138
the most appropriate PHP version according to the project which is running the
139139
commands. It also loads the env vars automatically, which is important when
@@ -148,20 +148,6 @@ running non-Symfony commands:
148148
# (or the default PHP version if the project didn't select one)
149149
$ symfony php -r "..."
150150
151-
If you are using this wrapper frequently, consider aliasing the ``php`` command
152-
to it:
153-
154-
.. code-block:: terminal
155-
156-
$ cd ~/.symfony/bin
157-
$ cp symfony php
158-
# now you can run "php ..." and the "symfony" command will be executed instead
159-
160-
# other PHP commands can be wrapped too using this trick
161-
$ cp symfony php-config
162-
$ cp symfony pear
163-
$ cp symfony pecl
164-
165151
Local Domain Names
166152
------------------
167153

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.