Open NazgulCoder opened 8 months ago
Hey, this container is focused on providing the entire apache-mysql-php stack. That means adding an option to disable one of those components isn't a priority for me. If you insist on using this container, you can run lampp stopmysql
to stop the MySQL service but it might restart if you restart the container which is far from perfect.
If all you need is php and want a lightweight container, I recommend using the php-fpm container. It's much smaller than this one.
Hey thank you very much for your kind help.
The thing i was trying to do its something "weird" because i tried to create with composer a PHP:apache container with some extensions but for some reason the GD extension Is missing some library. Funny because on my local xampp (and your docker container) It works perfectly. I even matched same PHP.ini settings etc etc.
Ofc I don't wanna go in production with xampp for many reasons even if my docker setup Is pretty robust and everything passes from a reverse proxy.
I thank you for the suggestion of that php-fpm container which looks great, but do you know if URL rewrite module Is enabled there?
Hello,
I have everything working correctly, is there a way to disable all the services except Apache to make it lighter and faster?