Sign inSign up

devilster/apache2-php-for-dev

By devilster

•Updated over 5 years ago

Image for local PHP development with PHP, Apache2 and XDebug

Image
0

2.2K

devilster/apache2-php-for-dev repository overview

⁠Common

Apache 2 PHP

⁠PHP Additional Modules

memcached
pgsql
redis
xdebug

⁠XDebug

At the current time - XDebug is in beta for 7.3 and can be unstable

⁠docker-compose example

version: '3'
services:
 web:
   build: .
   ports:
     - "80:80"
     - "443:443"
   volumes:
     - "./test:/var/www"
   environment:
     XDEBUG_CONFIG: ${XDEBUG_CONFIG}

⁠.env Example

For Linux

COMPOSE_PROJECT_NAME=devilster_php_apache2
XDEBUG_CONFIG=remote_host=172.17.0.1

For MacOs

COMPOSE_PROJECT_NAME=devilster_php_apache2
XDEBUG_CONFIG=remote_host=docker.for.mac.localhost

For Windows

COMPOSE_PROJECT_NAME=devilster_php_apache2
XDEBUG_CONFIG=remote_host=docker.for.win.localhost

Tag summary

Content type

Image

Digest

Size

238.3 MB

Last updated

over 5 years ago

docker pull devilster/apache2-php-for-dev