Giter VIP home page Giter VIP logo

docker-centos72-php7's Introduction

centos72-php7

版本

centos: 7.2 Apache: 2.4.6 php: 7.1.6

使用方法

安装docker客户端
下载:Dockerfile
cd Dockerfile所在目录
制作镜像:sudo docker build -t centos72-php7:3.0 .
启动php7: sudo docker run -d -p 80:80 -v /yourproject:/var/www/html centos72-php7:3.0
访问地址:http://127.0.0.1/

php 7.1.6 安装过程

docker pull centos:7.2.1511
docker run -it centos

yum install httpd

rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php71w
yum install -y php71w-cli \
yum install -y php71w-mbstring \
yum install -y php71w-pecl-redis \
yum install -y php71w-mysql \
yum install -y php71w-pdo \
yum install -y php71w-gd \
yum install -y php71w-mcrypt \
yum install -y php71w-opcache

docker-centos72-php7's People

Contributors

herderwu avatar

Watchers

 avatar  avatar

Forkers

alvin1234567

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.