Removing a2enmod

This commit is contained in:
Finley Ghosh 2025-08-11 16:45:55 +10:00
parent 727301c195
commit 65273b3816

View file

@ -53,7 +53,5 @@ RUN chmod -R 777 /var/www/cmc-sales/app/tmp
# Disable proxy_fcgi and remove any PHP-FPM conf files to force classic mod_php
RUN a2dismod proxy_fcgi
RUN rm -f /etc/apache2/conf-enabled/php*-fpm.conf || true
# Ensure mod_php is enabled
RUN a2enmod php5
# By default, simply start apache.
CMD /usr/sbin/apache2ctl -D FOREGROUND