Browse Source

Add PHP modules (zip + mbstrin)

Vova Tkach 4 years ago
parent
commit
09a8624538
2 changed files with 4 additions and 2 deletions
  1. 3 1
      Dockerfile
  2. 1 1
      README.md

+ 3 - 1
Dockerfile

@@ -11,8 +11,10 @@ RUN apt-get -y update && \
 	apt-get install -y php7.3-fpm && \
 	apt-get install -y php7.3-cgi && \
 	apt-get install -y php7.3-gd && \
-	apt-get install -y php7.3-mysql && \
+	apt-get install -y php7.3-zip && \
 	apt-get install -y php7.3-curl && \
+	apt-get install -y php7.3-mysql && \
+	apt-get install -y php7.3-mbstring && \
 	/etc/init.d/nginx stop && \
 	/etc/init.d/php7.3-fpm stop && \
 	rm /var/www/html/* && \

+ 1 - 1
README.md

@@ -1,6 +1,6 @@
 # docker-nginx-php-fpm
 
-Docker base image with Nginx + PHP + FPM. PHP version `7.3`. Pre-installed modules: gd, mysql and curl. All env vars located here `/var/www/.env`. Document root directory here `/var/www/html`. All PHP settings defined by default except count of fpm forks, decreased to 1 and the same for Nginx server, `worker_processes` decreased to 1. Time zone can be binded at container startup from host machine by `-v /etc/timezone:/etc/timezone:ro`. Default server port is `80`.
+Docker base image with Nginx + PHP + FPM. PHP version `7.3`. Pre-installed modules: gd, zip, curl, mysql, curl and mbstring. All env vars located here `/var/www/.env`. Document root directory here `/var/www/html`. All PHP settings defined by default except count of fpm forks, decreased to 1 and the same for Nginx server, `worker_processes` decreased to 1. Time zone can be binded at container startup from host machine by `-v /etc/timezone:/etc/timezone:ro`. Default server port is `80`.
 
 Docker image: [https://hub.docker.com/repository/docker/vladimirok5959/nginx-php-fpm](https://hub.docker.com/repository/docker/vladimirok5959/nginx-php-fpm)