Yii3 - How to start

Comparing #56 with #57

Revision #57 was created by rackycz rackycz on Apr 25, 2026, 9:12:52 AM.

xdebug

Content

[...]
>

If you want to see correct value `xdebug.mode` in `xdebug_info()`, or generally configure xdebug via `xdebug.ini`, do this:

docker/dev/xdebug.ini:

 
```
xdebug.mode=develop,debug,coverage
xdebug.client_host=host.docker.internal
[...]
docker/Dockerfile:

 
``` COPY docker/dev/xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini ``` dockerignore:
 
```
!/docker/dev/xdebug.ini
```
[...]
You can do the same as above (chapter about xDebug) with `php.ini` for example to set the timezone:

 
```
[Date]
date.timezone = "UTC"
[...]
docker/Dockerfile:

 
```
COPY docker/dev/php.ini /usr/local/etc/php/conf.d/custom.ini
```

## UI
[...]