Jean-Baptiste Nahan 409b82d1e2 Update README.md
2023-03-03 22:44:05 +01:00
2017-06-15 08:26:43 +02:00
2015-06-17 10:36:17 +02:00
2018-11-28 09:10:24 +01:00
2023-03-03 22:44:05 +01:00

DEPRECATED

Use the official PHP image and customize it.

Use

composer run -d -v /path/sources:/sources -v /path/to/vhost:/etc/apache2/sites-enabled macintoshplus/apache2-php:php73

Exemple of VHost

<VirtualHost *:80>
        ServerAdmin admin@domain.tld

        DocumentRoot /sources/public

        <ifModule mod_headers.c>
                Header set Server "DOCKER"
        </ifModule>
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /sources/public/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Description
No description provided
Readme 14 MiB
Languages
Dockerfile 90.3%
Shell 9.7%