I am trying to install a composer package for AWS S3 integration and came across the Composer Out of Memory issue.
Upon checking phpinfo() I could see the loaded php configuration file is /etc/php.ini and the Max Memory Limit allocated was 256M
But while checking the file memory_limit allocated was 128M. I tried to change it and then restarted the server. But whatever I do the Master value remains at 256M.
I am able to change the values locally using .htaccess but unfortunately it wont work with composer.