gilbertoalbino / php74-fpm-docker

Ambiente Docker teste com PHP 7.4-fpm, Xdebug, Nginx e MySQL 8
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

own php.ini file #3

Open StephanKrauss opened 4 years ago

StephanKrauss commented 4 years ago

Hello,

i will use my own php.ini file. In my php.ini file i will set the xdebug options

[Xdebug] zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so

; Darstellung der Fehler xdebug.collect_return = 1 xdebug.collect_includes = 1

xdebug.show_mem_delta=1 xdebug.collect_params=4 xdebug.trace_format=1

; remote Debugging xdebug.remote_enable = true xdebug.remote_autostart = true xdebug.remote_host = "localhost" xdebug.remote_port = 9000 xdebug.remote_handler = "dbgp"

I have modify the docker-compose. I add the line nginx: build: context: ./docker/nginx volumes:

Under; docker/php-fpm/php/:/usr/local/etc/php is my php.ini file.

When i start with phpinfo() i see in phpinfo(): Configuration File (php.ini) Path = /usr/local/etc/php

What is wrong ?

Your sincerly

Stephan