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 10e6500

Browse filesBrowse files
committed
Remove recommandation
1 parent e4b9331 commit 10e6500
Copy full SHA for 10e6500

File tree

Expand file treeCollapse file tree

1 file changed

+1
-15
lines changed
Filter options
Expand file treeCollapse file tree

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
@@ -134,7 +134,7 @@ to override:
134134
Running Commands with Different PHP Versions
135135
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136136

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

0 commit comments

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