Shared hosting are the following blue host , hostmonster and justhost can be change php.ini
1.) Go to cpanel
2.) Go to file manager
3.) Go to primary html public file then look for the php.ini
4.) Click the code editor at the top
5.) Go to line 405 to edit the memory max amount into 256 MB or 512 MB.
6.) DONE! Visit your website report status