Skip to content

Commit 972db1b

Browse files
authored
Merge pull request #6 from phpexpertsinc/5-php7.3.0
(#5) Upgraded to PHP 7.3.0.
2 parents 3d040db + e49f52f commit 972db1b

File tree

11 files changed

+18
-13
lines changed

11 files changed

+18
-13
lines changed

FAQ.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### What is included in this project?
44

5-
* PHP v7.2.2, built on 1 Feb 2018
5+
* PHP v7.3.0, built on 17 December 2018
66
* Nginx v1.10.3
77
* Redis v3.2.6
88
* PostgreSQL v9.6.6
@@ -34,7 +34,7 @@
3434
With every other dockerized PHP platformer I am aware of, you are on your own
3535
when it comes to setting up these client utilities.
3636

37-
### What does this provide that say Laravel Homestead does not?
37+
### What does this provide that Laravel Homestead does not?
3838

3939
Laravel Homestead uses Vagrant and full virtual machines. This is *way* overkill when
4040
you want a dockerized PHP app running on native Linux dev boxes and servers, like I

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=1.2.0
1+
VERSION=1.3.0
22

33
all: clean
44
@mkdir phppro-dockerized_php-v$(VERSION)

base/Dockerfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# phpexperts/php:7
22
FROM ubuntu:xenial
33

4-
ENV PHP_VERSION 7.2
4+
ENV PHP_VERSION 7.3
55

66
# Fix add-apt-repository is broken with non-UTF-8 locales, see https://github.com/oerdnj/deb.sury.org/issues/56
77
ENV LC_ALL C.UTF-8
@@ -17,17 +17,20 @@ RUN apt-get update && \
1717
apt-get install -y --no-install-recommends \
1818
curl \
1919
php${PHP_VERSION}-cli \
20+
vim inetutils-ping \
2021
php${PHP_VERSION}-fpm && \
2122
apt-get install -y --no-install-recommends \
2223
php${PHP_VERSION}-bcmath \
2324
php${PHP_VERSION}-curl \
2425
php${PHP_VERSION}-dom \
2526
php${PHP_VERSION}-gd \
27+
php${PHP_VERSION}-gmp \
2628
php${PHP_VERSION}-mbstring \
2729
php${PHP_VERSION}-mysql \
2830
php${PHP_VERSION}-pgsql \
2931
php${PHP_VERSION}-sqlite3 \
3032
php${PHP_VERSION}-opcache \
33+
php${PHP_VERSION}-memcached \
3134
php${PHP_VERSION}-zip && \
3235

3336

@@ -43,6 +46,8 @@ RUN apt-get update && \
4346
## Configure PHP-FPM
4447
sed -i "s!display_startup_errors = Off!display_startup_errors = On!g" /etc/php/${PHP_VERSION}/fpm/php.ini && \
4548
sed -i "s!;error_log = php_errors.log!error_log = /proc/self/fd/2!g" /etc/php/${PHP_VERSION}/fpm/php.ini && \
49+
sed -i "s!max_execution_time = 30!max_execution_time = 600!g" /etc/php/${PHP_VERSION}/fpm/php.ini && \
50+
sed -i "s!session.gc_probability = 0!session.gc_probability = 1!g" /etc/php/${PHP_VERSION}/fpm/php.ini && \
4651

4752
sed -i "s!;daemonize = yes!daemonize = no!g" /etc/php/${PHP_VERSION}/fpm/php-fpm.conf && \
4853
sed -i "s!error_log = /var/log/php${PHP_VERSION}-fpm.log!error_log = /proc/self/fd/2!g" /etc/php/${PHP_VERSION}/fpm/php-fpm.conf && \

build-images.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
docker build base --tag="phpexperts/php:7"
44
docker build laravel --tag="phpexperts/php:7-laravel"
55
docker build laravel-debug --tag="phpexperts/php:7-laravel-debug"
6-
docker build web --tag="phpexperts/web:nginx-php7.2"
7-
docker build web-debug --tag="phpexperts/web:nginx-php7.2-debug"
6+
docker build web --tag="phpexperts/web:nginx-php7.3"
7+
docker build web-debug --tag="phpexperts/web:nginx-php7.3-debug"

dist/_common/bin/containers

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
44

dist/mariadb/docker/docker-compose.base.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2'
22

33
services:
44
web:
5-
image: phpexperts/web:nginx-php7.2
5+
image: phpexperts/web:nginx-php7.3
66
depends_on:
77
- db
88
links:

dist/mariadb/docker/docker-compose.dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2'
22

33
services:
44
web:
5-
image: phpexperts/web:nginx-php7.2-debug
5+
image: phpexperts/web:nginx-php7.3-debug
66
ports:
77
- 80:80
88

dist/postgres/docker/docker-compose.base.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2'
22

33
services:
44
web:
5-
image: phpexperts/web:nginx-php7.2
5+
image: phpexperts/web:nginx-php7.3
66
depends_on:
77
- db
88
links:

dist/postgres/docker/docker-compose.dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2'
22

33
services:
44
web:
5-
image: phpexperts/web:nginx-php7.2-debug
5+
image: phpexperts/web:nginx-php7.3-debug
66
ports:
77
- 80:80
88

web-debug/supervisor/php-fpm.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[program:php-fpm]
2-
command=php-fpm7.2
2+
command=php-fpm7.3
33
numprocs=1
44
autostart=true
55
autorestart=true

web/supervisor/php-fpm.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[program:php-fpm]
2-
command=php-fpm7.2
2+
command=php-fpm7.3
33
numprocs=1
44
autostart=true
55
autorestart=true

0 commit comments

Comments
 (0)