July 2018
Intermediate to advanced
420 pages
8h 46m
English
In order to configure php-fpm, follow these steps:
FROM phpdockerio/php72-fpm:latestWORKDIR "/application"# Install selected extensions and other stuffRUN apt-get update \ && apt-get -y --no-install-recommends install php7.2-mysql libmcrypt-dev \ && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
Now, it is time to create our override php.ini file, which is the PHP.ini where we can manually override PHP settings that run on the server.
In the case of Apache servers, it only runs once when the server is started, in our case, as we use nginx with php-fpm. In regards to this, we are using a fastCgi environment, ...
Read now
Unlock full access