Skip to content

Commit dafed03

Browse files
Adding description
1 parent c753ae8 commit dafed03

File tree

1 file changed

+69
-1
lines changed

1 file changed

+69
-1
lines changed

README.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,70 @@
11
# php7-apache-dev
2-
PHP 7.1|7.2 FPM From webdevops php-apache-dev
2+
PHP 7.1|7.2 FPM from webdevops:php-apache-dev
3+
4+
PHP 7.1 FPM + Apache + Ubuntu 16.04
5+
================
6+
7+
## docker-compose.yml
8+
9+
```docker-compose
10+
version: "2"
11+
services:
12+
php:
13+
image: saraivagilberto/php7.1-apache-dev
14+
ports:
15+
- "80:80"
16+
volumes:
17+
- ./html:/var/www/html
18+
environment:
19+
WEB_DOCUMENT_ROOT: "/var/www/html"
20+
WEB_PHP_TIMEOUT: 600
21+
PHP_DEBUGGER: "xdebug"
22+
XDEBUG_REMOTE_AUTOSTART: 1
23+
XDEBUG_REMOTE_CONNECT_BACK: 0
24+
XDEBUG_REMOTE_HOST: 192.168.0.1
25+
XDEBUG_REMOTE_PORT: 9001
26+
```
27+
28+
## php-fpm -v
29+
30+
```
31+
PHP 7.1.17-1+ubuntu16.04.1+deb.sury.org+1 (fpm-fcgi) (built: May 5 2018 04:55:21)
32+
Copyright (c) 1997-2018 The PHP Group
33+
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
34+
with Zend OPcache v7.1.17-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
35+
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
36+
```
37+
38+
PHP 7.2 FPM + Apache + Ubuntu 16.04
39+
================
40+
41+
## docker-compose.yml
42+
43+
```docker-compose
44+
version: "2"
45+
services:
46+
php:
47+
image: saraivagilberto/php7.2-apache-dev
48+
ports:
49+
- "80:80"
50+
volumes:
51+
- ./html:/var/www/html
52+
environment:
53+
WEB_DOCUMENT_ROOT: "/var/www/html"
54+
WEB_PHP_TIMEOUT: 600
55+
PHP_DEBUGGER: "xdebug"
56+
XDEBUG_REMOTE_AUTOSTART: 1
57+
XDEBUG_REMOTE_CONNECT_BACK: 0
58+
XDEBUG_REMOTE_HOST: 192.168.0.1
59+
XDEBUG_REMOTE_PORT: 9001
60+
```
61+
62+
## php-fpm -v
63+
64+
```
65+
PHP 7.2.5-1+ubuntu16.04.1+deb.sury.org+1 (fpm-fcgi) (built: May 5 2018 04:59:13)
66+
Copyright (c) 1997-2018 The PHP Group
67+
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
68+
with Zend OPcache v7.2.5-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
69+
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
70+
```

0 commit comments

Comments
 (0)