File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ to override:
134
134
Running Commands with Different PHP Versions
135
135
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136
136
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 ``
138
138
command as a wrapper for the ``php `` command. This allows you to always select
139
139
the most appropriate PHP version according to the project which is running the
140
140
commands. It also loads the env vars automatically, which is important when
@@ -149,20 +149,6 @@ running non-Symfony commands:
149
149
# (or the default PHP version if the project didn't select one)
150
150
$ symfony php -r "..."
151
151
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
-
166
152
Local Domain Names
167
153
------------------
168
154
You can’t perform that action at this time.
0 commit comments