PHP Classes

File: docker/php/Dockerfile

Recommend this page to a friend!
  Classes of Nahidul Hasan   Simple PHP Framework Application   docker/php/Dockerfile   Download  
File: docker/php/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Framework Application
Example MVC application with the Symfony framework
Author: By
Last change:
Date: 6 months ago
Size: 537 bytes
 

Contents

Class file image Download
FROM php:7.0-fpm RUN docker-php-ext-install pdo_mysql RUN apt-get update && apt-get install -y \ libmcrypt-dev \ && docker-php-ext-install -j$(nproc) mcrypt \ && docker-php-ext-install -j$(nproc) pdo RUN yes | pecl install xdebug \ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini