Start apache in the same way as PHP in the Docker container

This commit is contained in:
Robin Whittleton 2021-02-11 22:19:05 +01:00 committed by Alex Cabal
parent f398700c56
commit fb1ed290a5

View file

@ -12,7 +12,7 @@ ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/c
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/fpm/conf.d/ ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/fpm/conf.d/
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.test.conf /etc/php/*/fpm/pool.d/ ln -s /standardebooks.org/web/config/php/fpm/standardebooks.test.conf /etc/php/*/fpm/pool.d/
a2ensite standardebooks.test a2ensite standardebooks.test
/etc/init.d/apache2 start service apache2 start
service php7.4-fpm restart service php7.4-fpm restart
# Keep the server available by holding open the container # Keep the server available by holding open the container