Coder Social home page Coder Social logo

docker-lamp-php5.6's Introduction

docker-lamp

Dockerand docker-compose

  • Apache
    • mod_rewrite
    • GD
  • php 5.6.28 or 7.1
  • MySql 5.7
  • PhpMyAdmin
  • Operation check
  • php5.6.28
    • ✅ baserCMS 3.0.16
    • ✅ Wordpress 4.9.8
    • ✅ EC-CUBE 2.13.5
  • php7.1
    • ✅ baserCMS 4.1.3
    • ✅ Wordpress 4.9.8

Advance preparation

How to set up

$ cd docker-lamp-php5.6
$ docker-compose build
$ docker-compose up

You can access http://localhost:8080/

Directory

├ public_html : Document root
├ docker-compose.yml
└ docker
  ├ web
    ├ Dockerfile : php veersion, apache install
    ├ base.conf : <VirtualHost *:80>
    ├ php.ini
  ├ db
    ├ Dockerfile : mysql install
    ├ my.cnf
  ├ logs : server log

How to change PHP version

Please edit docker/web/Dockerfile

php5.6

FROM php:5.6.28-apache
# FROM php:7.1-apache

php7.1

# FROM php:5.6.28-apache
FROM php:7.1-apache

MySQL

phpMyAdmin : http://localhost:8088/

  • database host : 192.168.202.2 (default)
  • database user : root
  • database pass : root
  • database port : 3308

docker-lamp-php5.6's People

Contributors

garyuten avatar kpanpaci avatar kurozumi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.