If you like to increase the PHP memory limit in any folder you just create a file called php.ini.
Put the following content in it:
memory_limit = 64M
You can replace 64M with the size of the PHP memory in megabytes you like to have.
After then, just upload the php.ini file via FTP in your public_html folder or internal folder you like to apply the PHP memory limit to.