Unable to edit php.ini file


#1

Trying to edit a php file.

phpinfo shows
Loaded Configuration File /usr/local/etc/php/php.ini

I can see the file when I ee shell but do not have sufficient permissions to edit. Tried su and sudo, but not sure what the credentials are when using ee shell.


#2

figured it out thanks to this on SO

docker container ls (to see the container list)
docker cp example_php_1:/usr/local/etc/php/php.ini .
vi php.ini
docker cp php.ini example_php_1:/usr/local/etc/php/php.ini
ee site restart mautic.example.com