Difference between #56 and #57 of
Yii3 - How to start

Revision #57 has been created by rackycz rackycz on Apr 25, 2026, 9:12:52 AM with the memo:

xdebug
« previous (#56) next (#58) »

Changes

Title unchanged

Yii3 - How to start

Category unchanged

Tutorials

Yii version unchanged

3.0

Tags unchanged

Content changed

[...]
>

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
[...]
2 0
5 followers
Viewed: 69 473 times
Version: 3.0
Category: Tutorials
Tags:
Written by: rackycz rackycz
Last updated by: rackycz rackycz
Created on: Oct 8, 2025
Last updated: 8 hours ago
Update Article

Revisions

View all history