From ce4cf3a2f0fb218aec95f6633778cd9100f338ea Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 16 Mar 2021 04:49:32 -0400 Subject: [PATCH] readme notes" --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README.md b/README.md index b919f70..6cd8cd7 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,37 @@ Maybe should've just used a turnkey appliance. Maybe... Maybe not. # tips docker exec -it zencart /bin/bash + +#NOTES +index.html must be deleted to make room for index.php, +otherwise debian default page takes precedence + +if you don't keep /var/www/html, then you lose all data when container is restarted. + +The apache ENV vars must be set in Dockerfile (already done, just leaving a note. +ENV APACHE_RUN_USER www-data +ENV APACHE_RUN_GROUP www-data +ENV APACHE_LOG_DIR /var/log/apache2 +ENV APACHE_PID_FILE /var/run/apache2.pid +ENV APACHE_RUN_DIR /var/www/html/ +ENV APACHE_LOCK_DIR /var/lock/apache2 + +mcrypt had to be a specific release, and is installed separately with pecl... + +The new apache2 conf is mostly the same, but has allowance for htaccess, iirc. +compare to stock apache2 conf if interested. + +mariadb used was 10.5. As of this writing it pulls 10.5.9 (which works). It's possible +10.5.10 will break things, who knows. + +zencart has which mariadb, php, and apache it works with in the downloadable zip. + + + + + + + + + +