tomsik68 / docker-xampp

Dockerfile to build an image containing XAMPP(MySQL + PHP + PHPMyAdmin) running on Debian system with SSH server
https://hub.docker.com/r/tomsik68/xampp/
MIT License
197 stars 109 forks source link

How can edit my php.ini file? #17

Closed alperendurmus closed 5 years ago

alperendurmus commented 5 years ago

Hi there. I couldn't figure out how can I edit my php.ini file. All advices will be appreciated.

tomsik68 commented 5 years ago

There are at least 3 ways:

  1. Just use docker's -v flag to mount the folder where php.ini is located to your directory.
  2. Start bash inside docker and use nano.
  3. SSH into the container and use nano: ssh root@localhost -p 41061.

Please not that php.ini is probably located somewhere inside /opt/lampp.

alperendurmus commented 5 years ago

Thank you very much!