|
20 | 20 | * [Debugging with XDebug](#debugging-with-xdebug)
|
21 | 21 | * [Connecting to MySQL DB](#connecting-to-mysql-db)
|
22 | 22 | * [Accessing PHP and other config files](#accessing-php-and-other-config-files)
|
| 23 | + * [Switch between PHP 5.6 and 7.0](#switch-between-php-56-and-70) |
23 | 24 | * [Multiple Magento instances](#multiple-magento-instances)
|
24 | 25 | * [Reset environment](#reset-environment)
|
25 | 26 |
|
@@ -167,11 +168,6 @@ bash m-switch-to-ee
|
167 | 168 | ```
|
168 | 169 | :information_source: On Windows hosts (or when NFS mode is disabled in [config.yaml](etc/config.yaml.dist) explicitly) you will be asked to wait until code is uploaded to guest machine by PhpStorm (PhpStorm must be lunched). To continue the process press any key.
|
169 | 170 |
|
170 |
| -### Switch between PHP 5.6 and 7 |
171 |
| - |
172 |
| -Set "use_php7: 1" for PHP7 and "use_php7: 0" for PHP5.6 in [config.yaml](etc/config.yaml.dist). |
173 |
| -PHP version will be applied after "vagrant reload". |
174 |
| - |
175 | 171 | ### Update Composer dependencies
|
176 | 172 |
|
177 | 173 | Go to 'vagrant-magento' created earlier and run in command line:
|
@@ -223,6 +219,11 @@ Do not edit any symlinks using PhpStorm because it may break your installation.
|
223 | 219 |
|
224 | 220 | After editing configs in IDE it is still required to restart related services manually.
|
225 | 221 |
|
| 222 | +### Switch between PHP 5.6 and 7.0 |
| 223 | + |
| 224 | +Set "use_php7: 1" for PHP7 and "use_php7: 0" for PHP5.6 in [config.yaml](etc/config.yaml.dist). |
| 225 | +PHP version will be applied after "vagrant reload". |
| 226 | + |
226 | 227 | ### Multiple Magento instances
|
227 | 228 |
|
228 | 229 | To install several Magento instances based on different code bases, just follow [Installation steps](#installation-steps) to initialize project in another directory on the host.
|
@@ -252,4 +253,4 @@ To reset PhpStorm project configuration, in addition to `-f` specify `-p` option
|
252 | 253 | bash init_project.sh -fp
|
253 | 254 | OR
|
254 | 255 | bash init_project.sh -fcp
|
255 |
| -``` |
| 256 | +``` |
0 commit comments