PHP Classes

File: ops/docker/dev/php-fpm/Dockerfile

Recommend this page to a friend!
  Classes of Leonardo Di Sarli   Ala PHP API Micro-Framework   ops/docker/dev/php-fpm/Dockerfile   Download  
File: ops/docker/dev/php-fpm/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ala PHP API Micro-Framework
Generate base code for API using a query builder
Author: By
Last change: php83 version
fixing segmentation fault and pdepend compatibility with symfony7 in php82 version
fixing mysql pdo driver
Date: 1 year ago
Size: 839 bytes
 

Contents

Class file image Download
ARG PHP_VERSION=8.3-rc-fpm FROM php:${PHP_VERSION} RUN apt update \ && apt upgrade -y \ && apt install zip unzip git -y RUN pecl install xdebug-3.3.0alpha3 \ && docker-php-ext-install mysqli pdo pdo_mysql \ && docker-php-ext-enable pdo_mysql xdebug RUN echo "xdebug.start_with_request=yes" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.mode=debug,coverage" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.log=/var/log/xdebug.log" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.discover_client_host=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.client_port=9005" >> /usr/local/etc/php/conf.d/xdebug.ini RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer WORKDIR /var/www/html EXPOSE 9000 CMD ["php-fpm"]