xdebug.remote_host = docker.for.mac.localhost
远程IDE ip, 在mac docker desktop软件中,docker.for.max.localhost 表明宿主机ipxdebug.remote_port = 9100
远程IDE监听的端口
这个地址和端口是web访问的地址和端口
同时须要添加文件映射,即本地文件对应docker中的哪一个文件php
# php.ini max_execution_time = 7200 # php-fpm.conf request_terminate_timeout = 0 # nginx.conf fastcgi_connect_timeout = 7200; fastcgi_send_timeout = 7200; fastcgi_read_timeout = 7200;