Last active
June 23, 2021 02:25
-
-
Save daubac402/4bf5bc11e477952d71d04799ee677c20 to your computer and use it in GitHub Desktop.
Enable SSI (Server Side Includes) to laradock apache2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. vim /your_laradock_location/apache2/Dockerfile, add this before "COPY vhost.conf /etc/apache2/sites-enabled/vhost.conf" and ENTRYPOINT line: | |
RUN a2enmod include | |
RUN service httpd restart | |
2. Rebuild apache2 image (at your_laradock_location) | |
docker-compose build --no-cache apache2 | |
3. docker-compose up -d apache2 mysql phpmyadmin workspace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment