Giter Site home page Giter Site logo

php7-apache-dev's Introduction

php7-apache-dev

PHP 7.1|7.2 FPM from webdevops:php-apache-dev

PHP 7.1 FPM + Apache + Ubuntu 16.04

docker-compose.yml

version: "2"
services:
  php:
    image: saraivagilberto/php7.1-apache-dev
    ports:
      - "80:80"    
    volumes:
      - ./html:/var/www/html
    environment:
      WEB_DOCUMENT_ROOT: "/var/www/html"
      WEB_PHP_TIMEOUT: 600
      PHP_DEBUGGER: "xdebug"
      XDEBUG_REMOTE_AUTOSTART: 1
      XDEBUG_REMOTE_CONNECT_BACK: 0
      XDEBUG_REMOTE_HOST: 192.168.0.1
      XDEBUG_REMOTE_PORT: 9001      

php-fpm -v

PHP 7.1.17-1+ubuntu16.04.1+deb.sury.org+1 (fpm-fcgi) (built: May  5 2018 04:55:21)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.17-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans

PHP 7.2 FPM + Apache + Ubuntu 16.04

docker-compose.yml

version: "2"
services:
  php:
    image: saraivagilberto/php7.2-apache-dev
    ports:
      - "80:80"    
    volumes:
      - ./html:/var/www/html
    environment:
      WEB_DOCUMENT_ROOT: "/var/www/html"
      WEB_PHP_TIMEOUT: 600
      PHP_DEBUGGER: "xdebug"
      XDEBUG_REMOTE_AUTOSTART: 1
      XDEBUG_REMOTE_CONNECT_BACK: 0
      XDEBUG_REMOTE_HOST: 192.168.0.1
      XDEBUG_REMOTE_PORT: 9001      

php-fpm -v

PHP 7.2.5-1+ubuntu16.04.1+deb.sury.org+1 (fpm-fcgi) (built: May  5 2018 04:59:13)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.5-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans

php7-apache-dev's People

Contributors

saraivagilberto avatar

Stargazers

 avatar

Watchers

 avatar  avatar

php7-apache-dev's Issues

Ajuda com Xdebug

Falae meu caro,

Estou com dúvida para utilizar o vscode + docker com sua imagem e utilizar o Debug
consegue me ajudar?

version: "2"
services:
php:
image: saraivagilberto/php7.2-apache-dev
container_name: etiquetas
ports:
- "8080:80"
volumes:
- .:/var/www/html
environment:
WEB_DOCUMENT_ROOT: "/var/www/html"
WEB_PHP_TIMEOUT: 600
PHP_DEBUGGER: "xdebug"
XDEBUG_DEFAULT_ENABLE: 1
XDEBUG_REMOTE_AUTOSTART: 1
XDEBUG_REMOTE_CONNECT_BACK: 1
XDEBUG_REMOTE_ENABLE: 1
XDEBUG_IDEKEY: "DOCKER"
XDEBUG_REMOTE_HANDLER: "dbgp"
XDEBUG_REMOTE_PORT: 9001
XDEBUG_REMOTE_HOST: "host.docker.internal"

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.