Based on wordpress apache with xdebug installed and enabled for development
1.0K
Removed plugins & themes, kept twentyseventeen
For xdebug to work you need three thing
; PHP Configurations
display_errors = 1
log_errors = on
; XDebug
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.var_display_max_depth = -1
xdebug.var_display_max_children = -1
xdebug.var_display_max_data = -1
environment:
XDEBUG_CONFIG: remote_host=${HOST_IP}
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
volumes:
- './conf/xdebug.ini:/usr/local/etc/php/conf.d/xdebugmc.ini'
Content type
Image
Digest
Size
168.6 MB
Last updated
almost 9 years ago
docker pull alchatti/wordpress-apache-xdebug