I have Magento working in a cPanel, but I need to migrate in to Docker.
I kept the same version of PHP (7.1.33) and also MySQL (5.7).
Installed the extensions:
mysqli, pdo_mysql, mcrypt, intl, xsl, gd, bcmath, soap, zip, sockets, sqlsrv, pdo_sqlsrv.
Run the commands:
rm -rf var/cache/* var/page_cache/* var/generation/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento deploy:mode:show php bin/magento setup:static-content:deploy
However when I try to access the page I get an ERR_EMPTY_RESPONSE and Apache consumes all the resources of the machine. 8GB RAM & 8 threads.
Magento version 2.2.6.
Where dit I go wrong?