Giter Club home page Giter Club logo

lamp_stack's Introduction

Lamp Setup

This is a basic LAMP stack environment built using Docker Compose. It consists of the following:

  • PHP 7.1
  • Apache 2.4
  • MySQL 5.7
  • phpMyAdmin

Installation

Clone this repository. Run docker-compose up -d.

cd lamp_stack/
docker-compose up -d

Your LAMP stack is now ready to go!! You can access it via http://localhost.

CMS

In ./www/cms you can add your chosen CMS and access it via apache. The Document root is currently configured to look at ./www but you can change this if you like in the docker-compose.yml file.

Web Server

Apache is configured to run on port 80. So, you can access it via http://localhost.

PHP

The installed version of PHP is 7.1.

Extensions

By default the following extensions are installed.

  • mysqli
  • mbstring
  • zip
  • intl
  • mcrypt
  • curl
  • json
  • iconv
  • xml
  • xmlrpc
  • gd

If you want to install more extensions, update ./bin/webserver/Dockerfile as you wish. Afterwards you have to rebuild the docker image by running docker-compose build and restart the containers.

phpMyAdmin

phpMyAdmin is configured to run on port 8080.

http://localhost:8080/
username: root
password: root

lamp_stack's People

Contributors

fuxi-de avatar

Stargazers

 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.