@anon21401411 and @alfredb you were both right. I was looking at the wrong php.ini file. I put the phpinfo()
method into index.php and run it in the browser and it outputted the following: /etc/php/7.0/apache2/php.ini
and when I checked that php.ini file I saw this: memory_limit = 128M
This issue can be closed. Thank you very much for your help!