Increase PHP memory limit

If you need PHP's memory limit to be increased, please do the following:
  1. Create a file called ".user.ini" in the folder of the script or the folder above (as long as the folder is still in the domain's directory)
  2. In the .user.ini file, place:
    1. memory_limit = 128M
  3. Save the file and you're done.
Replace the value in red with a different number if you need more.  "M" means megabyte. 

NOTE:  The above is for PHP 5.3 and above.  Please note that our servers use Cloudlinux or other systems to prevent usages of all server's memory.
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Sending mail via PHP / sendmail

Using PHP's mail() function and/or sendmail will sometimes cause anti-spam filters to filter out...

Standard Mail Settings

Mail Server Info: Login: Is your full email address (example@example.com) Incoming mail...

PHP 5.6, 7.0 Fails to connect via SSL / TLS

Starting at PHP 5.6, PHP does a verify of the SSL certificate and if it fails to the connection...

http Error codes

The following are http status and error codes that are returned for each file access via a web...