You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# See https://docs.docker.com/docker-for-mac/networking/#i-want-to-connect-from-a-container-to-a-service-on-the-host
67
67
# See https://github.com/docker/for-linux/issues/264
@@ -73,34 +73,31 @@ services:
73
73
idekey=PHPSTORM
74
74
# This should correspond to the server declared in PHPStorm `Preferences | Languages & Frameworks | PHP | Servers`
75
75
# Then PHPStorm will use the corresponding path mappings
76
-
PHP_IDE_CONFIG: serverName=symfony-docker
76
+
PHP_IDE_CONFIG: serverName=symfony
77
77
```
78
78
79
79
Then run:
80
80
81
-
````bash
81
+
```bash
82
82
docker-compose up -d
83
-
````
83
+
```
84
84
85
-
If `docker-compose.yaml` and a `docker-compose.override.yaml` are present on the same directory level, Docker Compose combines the two files into a single configuration, applying the configuration in the `docker-compose.override.yaml` file over and in addition to the values in the `docker-compose.yaml` file.
85
+
If `docker-compose.yml` and a `docker-compose.override.yml` are present on the same directory level, Docker Compose combines the two files into a single configuration, applying the configuration in the `docker-compose.override.yml` file over and in addition to the values in the `docker-compose.yml` file.
86
86
87
87
### Troubleshooting
88
88
89
89
Inspect the installation with the following command. The requested Xdebug version should be displayed in the output.
with Zend OPcache v7.2.8, Copyright (c) 1999-2018, by Zend Technologies
98
-
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
94
+
PHP ...
95
+
with Xdebug v2.8.0 ...
99
96
```
100
97
101
98
### Editing Permissions on Linux
102
99
103
-
If you work on linux and cannot edit some of the project files right after the first installation, you can run `docker-compose run --rm app chown -R $(id -u):$(id -g) .` to set yourself as owner of the project files that were created by the docker container.
100
+
If you work on linux and cannot edit some of the project files right after the first installation, you can run `docker-compose run --rm php chown -R $(id -u):$(id -g) .` to set yourself as owner of the project files that were created by the docker container.
0 commit comments