webgriffe / docker-php-apache-base Goto Github PK
View Code? Open in Web Editor NEWBase Docker Container for PHP web development. Apache webserver integrated.
Base Docker Container for PHP web development. Apache webserver integrated.
Hello,
First off, nice work. I've been able to get everything running, even Xdebug. Well done.
However : there is one thing I'm struggling with ATM : I would be much obliged should you be able to help me.
I'm confused whether MySQL is already installed : I'm trying to log in using the CLI (mysql) command, but I cannot enter using standard root-root user-pwd combo. I then tried installing mysql-server package, but even then I cannot change user credentials for root.
I've checked the Dockerfile / start script, but I only came across the fact that the php extensiosn mysqli / mysqlpdo are installed, so I was wondering if Mysql is installed natively on this image, and if so : how can I retriever root password?
As always, should you require more information, don't hesitate to ask.
Hello @mmenozzi ,It will be nice if you could add php-redis module to the php modules. Thank you
One thing I've run into (that you might fix as well): as memory_limit was infinite, this image filled my whole RAM when I executed a specific request. This is really bad because as soon as it is full, my linux graphic environment starts to become unusable, so I couldn't even kill it fast enough.
Only after limiting the memory usage:
benjaminpick@51e3c06
I found the culprit (a recursive var_dump which somehow produced an output of infinite length).
I have also learned that the docker-compose.yml can also contain memory limits:
server:
mem_limit: 301m
image: webgriffe/docker-php-apache-base
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.