Git Product home page Git Product logo

docker-php-apache-base's People

Contributors

benjaminpick avatar metakin avatar mmenozzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-php-apache-base's Issues

Mysql already installed?

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.

Limit memory usage

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
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.