File tree Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 11PHPARGS=-dmemory_limit =64M
2- # PHPARGS=-dmemory_limit=64M -dzend_extension=xdebug.so -dxdebug.remote_enable=1 -dxdebug.remote_host=127.0.0.1 -dxdebug.remote_autostart=1
3- # PHPARGS=-dmemory_limit=64M -dxdebug.remote_enable=1
2+ # PHPARGS=-dmemory_limit=64M -dzend_extension=xdebug.so -dxdebug.mode=debug -dxdebug.remote_host=127.0.0.1 -dxdebug.start_with_request=yes
3+ # PHPARGS=-dmemory_limit=64M -dxdebug.mode=debug
44
55all :
66
@@ -24,9 +24,9 @@ clean_all:
2424
2525up :
2626 docker-compose up -d
27- chmod +rw -R tests/tmp
28- chmod +rw -R tests/codeception
29- mkdir -p tests/testapp/runtime && chmod +rw -R tests/testapp/runtime
27+ docker-compose run --rm php bash -c ' chmod +rw -R tests/tmp'
28+ docker-compose run --rm php bash -c ' chmod +rw -R tests/codeception'
29+ docker-compose run --rm php bash -c ' mkdir -p tests/testapp/runtime && chmod +rw -R tests/testapp/runtime'
3030
3131cli :
3232 docker-compose exec php bash
Original file line number Diff line number Diff line change @@ -27,5 +27,3 @@ With https://fractal.thephpleague.com
2727 - Run ` make up `
2828 - Run once ` make installdocker `
2929 - Run ` make testdocker ` or ` make cli ` and inside docker env ` make test `
30-
31-
Original file line number Diff line number Diff line change 1- FROM yiisoftware/yii2-php:7.1 -apache
1+ FROM yiisoftware/yii2-php:7.4 -apache
22
33ENV INSIDE_DOCKER=1
44
55COPY apache.conf /etc/apache2/sites-enabled/000-default.conf
66
77# enable xdebug
88RUN docker-php-ext-enable xdebug
9- COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
9+ COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
Original file line number Diff line number Diff line change 1- xdebug.remote_enable =1
2- xdebug.remote_autostart =1
3- xdebug.remote_connect_back =1
1+ xdebug.mode =debug
2+ xdebug.start_with_request =yes
3+ xdebug.discover_client_host =1
44; xdebug.remote_host=host.docker.internal
5- xdebug.remote_port =9000
5+ xdebug.client_port =9000
66xdebug.idekey =PHPSTORM
7- xdebug.remote_timeout = 10
7+ xdebug.connect_timeout_ms = 10
You can’t perform that action at this time.
0 commit comments