Sign inSign up

jaschweder/php

By jaschweder

Updated about 8 years ago

While designed for web development, the PHP scripting language also provides general-purpose use.

Image
1

50K+

jaschweder/php repository overview

PHP

This alternative collection of images will help you in the PHP development, this use ubuntu:latest has base image, Nginx for web server and SupervisorD to handle all together, have fun :)

Docker Pulls

Supported tags

TagPHP VersionComposerNginxSupervisorrootother driversBuild
latest7.0.*yesnonononoBuild Status
tools7.0.*yesnonononoBuild Status
server7.0.*yesyesyes/var/wwwnoBuild Status
laravel7.0.*yesyesyes/var/www/publicnoBuild Status
sqlsrv7.0.*yesyesyes/var/wwwsqlsrv driverBuild Status
sqlsrv-tools7.0.*yesnononosqlsrv driverBuild Status
sqlsrv-server7.0.*yesyesyes/var/wwwsqlsrv driverBuild Status
sqlsrv-laravel7.0.*yesyesyes/var/www/publicsqlsrv driverBuild Status
5.65.6.*yesnonononoBuild Status
5.6-tools5.6.*yesnonononoBuild Status
5.6-server5.6.*yesyesyes/var/wwwnoBuild Status
5.6-laravel5.6.*yesyesyes/var/www/publicnoBuild Status
5.6-sqlsrv5.6.*yesyesyes/var/wwwsqlsrv driverBuild Status
5.6-sqlsrv-tools5.6.*yesnononosqlsrv driverBuild Status
5.6-sqlsrv-server5.6.*yesyesyes/var/wwwsqlsrv driverBuild Status
5.6-sqlsrv-laravel5.6.*yesyesyes/var/www/publicsqlsrv driverBuild Status
5.6-sybase5.6.*nonono/var/wwwsybase driverBuild Status
5.6-sybase-tools5.6.*yesnono/var/wwwsybase driverBuild Status
5.6-sybase-server5.6.*yesyesyes/var/wwwsybase driverBuild Status
5.6-sybase-laravel5.6.*yesyesyes/var/www/publicsybase driverBuild Status

How to use this image

Most simple use:
docker run -it jaschweder/php php -v

PHP 7.0.22-dev (cli) (built: Jul 12 2017 13:23:03) ( ZTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
Running tests with phpunit:
# from your project root directory
docker run --rm -v "$PWD:/var/www" jaschweder/php:tools phpunit
Running a server:
# from your project root directory
docker run -d -v "$PWD:/var/www" jaschweder/php:server
Running a server for Laravel projects:
docker run -d -v "$PWD:/var/www" jaschweder/php:laravel
From Dockerfile
FROM jaschweder/php
COPY . /var/www
WORKDIR /var/www
CMD ['php', 'yourscript.php']
Using with Docker Compose
version: '2'

services:
  server:
    image: jaschweder/php:laravel
    depends_on:
        - redis
        - db
    links:
        - redis
        - db
    volumes:
        - .:/var/www
  redis:
    image: redis:alpine

  db:
    image: mariadb

How to contribute

You are welcome, go to the repository on Github

Bugs

Found a bug or some secure problem ? please, open an issue or send a e-mail to the author

Author

Created and maintained by Jonathan A. Schweder [email protected]`

Tag summary

Content type

Image

Digest

Size

359.4 MB

Last updated

about 8 years ago

docker pull jaschweder/php