File tree 11 files changed +18
-13
lines changed
11 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 2
2
3
3
### What is included in this project?
4
4
5
- * PHP v7.2.2 , built on 1 Feb 2018
5
+ * PHP v7.3.0 , built on 17 December 2018
6
6
* Nginx v1.10.3
7
7
* Redis v3.2.6
8
8
* PostgreSQL v9.6.6
34
34
With every other dockerized PHP platformer I am aware of, you are on your own
35
35
when it comes to setting up these client utilities.
36
36
37
- ### What does this provide that say Laravel Homestead does not?
37
+ ### What does this provide that Laravel Homestead does not?
38
38
39
39
Laravel Homestead uses Vagrant and full virtual machines. This is * way* overkill when
40
40
you want a dockerized PHP app running on native Linux dev boxes and servers, like I
Original file line number Diff line number Diff line change 1
- VERSION =1.2 .0
1
+ VERSION =1.3 .0
2
2
3
3
all : clean
4
4
@mkdir phppro-dockerized_php-v$(VERSION )
Original file line number Diff line number Diff line change 1
1
# phpexperts/php:7
2
2
FROM ubuntu:xenial
3
3
4
- ENV PHP_VERSION 7.2
4
+ ENV PHP_VERSION 7.3
5
5
6
6
# Fix add-apt-repository is broken with non-UTF-8 locales, see https://github.com/oerdnj/deb.sury.org/issues/56
7
7
ENV LC_ALL C.UTF-8
@@ -17,17 +17,20 @@ RUN apt-get update && \
17
17
apt-get install -y --no-install-recommends \
18
18
curl \
19
19
php${PHP_VERSION}-cli \
20
+ vim inetutils-ping \
20
21
php${PHP_VERSION}-fpm && \
21
22
apt-get install -y --no-install-recommends \
22
23
php${PHP_VERSION}-bcmath \
23
24
php${PHP_VERSION}-curl \
24
25
php${PHP_VERSION}-dom \
25
26
php${PHP_VERSION}-gd \
27
+ php${PHP_VERSION}-gmp \
26
28
php${PHP_VERSION}-mbstring \
27
29
php${PHP_VERSION}-mysql \
28
30
php${PHP_VERSION}-pgsql \
29
31
php${PHP_VERSION}-sqlite3 \
30
32
php${PHP_VERSION}-opcache \
33
+ php${PHP_VERSION}-memcached \
31
34
php${PHP_VERSION}-zip && \
32
35
33
36
@@ -43,6 +46,8 @@ RUN apt-get update && \
43
46
# # Configure PHP-FPM
44
47
sed -i "s!display_startup_errors = Off!display_startup_errors = On!g" /etc/php/${PHP_VERSION}/fpm/php.ini && \
45
48
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 && \
46
51
47
52
sed -i "s!;daemonize = yes!daemonize = no!g" /etc/php/${PHP_VERSION}/fpm/php-fpm.conf && \
48
53
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 && \
Original file line number Diff line number Diff line change 3
3
docker build base --tag=" phpexperts/php:7"
4
4
docker build laravel --tag=" phpexperts/php:7-laravel"
5
5
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"
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd ) "
4
4
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '2'
2
2
3
3
services :
4
4
web :
5
- image : phpexperts/web:nginx-php7.2
5
+ image : phpexperts/web:nginx-php7.3
6
6
depends_on :
7
7
- db
8
8
links :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '2'
2
2
3
3
services :
4
4
web :
5
- image : phpexperts/web:nginx-php7.2 -debug
5
+ image : phpexperts/web:nginx-php7.3 -debug
6
6
ports :
7
7
- 80:80
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '2'
2
2
3
3
services :
4
4
web :
5
- image : phpexperts/web:nginx-php7.2
5
+ image : phpexperts/web:nginx-php7.3
6
6
depends_on :
7
7
- db
8
8
links :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '2'
2
2
3
3
services :
4
4
web :
5
- image : phpexperts/web:nginx-php7.2 -debug
5
+ image : phpexperts/web:nginx-php7.3 -debug
6
6
ports :
7
7
- 80:80
8
8
Original file line number Diff line number Diff line change 1
1
[program:php-fpm]
2
- command=php-fpm7.2
2
+ command=php-fpm7.3
3
3
numprocs=1
4
4
autostart=true
5
5
autorestart=true
Original file line number Diff line number Diff line change 1
1
[program:php-fpm]
2
- command=php-fpm7.2
2
+ command=php-fpm7.3
3
3
numprocs=1
4
4
autostart=true
5
5
autorestart=true
You can’t perform that action at this time.
0 commit comments