Skip to content

Commit 4d5a76e

Browse files
committed
[Archive April2019] php 7.3
1 parent e7e3b3c commit 4d5a76e

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

.docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.2-apache
1+
FROM php:7.3-apache
22
MAINTAINER Jgauthi <github.com/jgauthi>
33

44
VOLUME ["/var/www"]

.docker/apache_default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# match this virtual host. For the default virtual host (this file) this
77
# value is not decisive as it is used as a last resort host regardless.
88
# However, you must set it for any further virtual host explicitly.
9-
ServerName php72.local
9+
ServerName php73.local
1010

1111
ServerAdmin webmaster@localhost
1212
DocumentRoot /var/www/html

install-image.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
# Conf
55
webdir="/var/www/html/"
6-
container="apachephp72"
7-
image="apache-php72"
8-
vhost="php72.local"
6+
container="apachephp73"
7+
image="apache-php73"
8+
vhost="php73.local"
99

1010
# Init images
1111
docker stop $container

readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ chmod +x install-image.sh
1515

1616
Get the current docker IP with the command:
1717
```shell script
18-
docker inspect apachephp72 | grep '"IPAddress": "'
18+
docker inspect apachephp73 | grep '"IPAddress": "'
1919
```
2020

21-
And edit your /etc/hosts: `172.17.X.X php72.local`
21+
And edit your /etc/hosts: `172.17.X.X php73.local`
2222

2323
**Installed packages:**
2424
* Ubuntu Server 12, based on ubuntu docker image
@@ -43,23 +43,23 @@ And edit your /etc/hosts: `172.17.X.X php72.local`
4343
* display_errors = On
4444
* error_reporting = E_ALL (default, overridable per env variable)
4545

46-
For uninstall, you can use the command: `docker rm apachephp72`
46+
For uninstall, you can use the command: `docker rm apachephp73`
4747

4848

4949
## Usage
5050

5151
```shell script
5252
# Start container
53-
docker start apachephp72
53+
docker start apachephp73
5454

5555
# Use composer
56-
docker exec -it apachephp72 composer install
56+
docker exec -it apachephp73 composer install
5757

5858
# Stop container
59-
docker stop apachephp72
59+
docker stop apachephp73
6060
```
6161

62-
You can check on url: http://php72.local
62+
You can check on url: http://php73.local
6363

6464
**Access apache logs**:
6565
Apache is configured to log both access and error log to STDOUT. So you can simply use `docker logs` to get the log output:

0 commit comments

Comments
 (0)