Unable to edit php.ini file

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.

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

Why not update the file under /opt/easyengine/sites/example.com/config/php/php/php.ini ?