Sign inSign up

josevieirame/php

By josevieirame

•Updated about 10 years ago

Php with microsft sql server driver support, centos based

Image
1

506

josevieirame/php repository overview

⁠josevieirame/php

PHP PDO Drivers: sqlsrv, pgsql, mysql, sqlite

⁠Using inline command
$ docker run --name app-name -p 80:8080  -v /path/to/project/root:/va/www/app josevieirame/php:7.0-apache

To mount project root (index.php must be in public/ ) and expose port 80

Understanding the docker-compose compose tool is appreciated in order to use the following configuration files.

####
# ATENTION:
# Replace occurences of sandbox with your project's name
####

# v2 sintax
version: '2'

services:
  # PHP
  app:
    image: josevieirame/php:7.0-apache # choose yout tag here
    container_name: sandbox-app
    volumes:
      - .:/var/www/app
    ports:
      - "80:8080"

Tag summary

Content type

Image

Digest

Size

170.8 MB

Last updated

about 10 years ago

docker pull josevieirame/php