Sign inSign up

wisuar/php

By wisuar

•Updated almost 2 years ago

PHP images with Composer and Xdebug

Image
Languages & frameworks
Developer tools
1

446

wisuar/php repository overview

⁠PHP images with Composer and Xdebug

Use for development. pdo_mysql extension is enabled.

For source images, see https://hub.docker.com/_/php⁠. More about Composer: https://getcomposer.org/⁠. More about Xdebug: https://xdebug.org/⁠.

⁠Tags

  • 8.4.1-cli-alpine3.20, latest includes Composer 2.8.3 and Xdebug 3.4.0
  • 8.0.10-cli-alpine3.13, latest includes Composer 2.1.6 and Xdebug 3.0.4

⁠Usage

$ docker run --rm -p 8080:80 -v /path/to/your/project:/opt/project --name my_php_app wisuar/php:latest php -S 0.0.0.0:80 -t /opt/project/path/to/public_html

This command starts your PHP application named my_php_app on port 8080 and removes itself after stopped. Your local files should be under /path/to/your/project and the entry point (usually index.php) should be under path/to/public_html.

Tag summary

Content type

Image

Digest

sha256:924825df3…

Size

43.5 MB

Last updated

almost 2 years ago

docker pull wisuar/php