Increasing PHP memory limit

  • November 3, 2010
  • 0 Comments
Most PHP applications would run fine with the default memory limit. However, some may require additional memory than others. To have your site's PHP memory limit increased, you need to have a copy of the PHP.INI file in your public_html folder. Please request from our support team a copy to be placed in your account.

You need to have the custom PHP.INI file in all the directories where the PHP application would require the custom parameters. If you want to run it in all directories, add this line in your .htaccess file:

SetEnv PHPRC /home/username/public_html/php.ini

Change the username with that of your own username.

Also, please note that we limit the PHP memory to a certain maximum size per account still to avoid server resource abuse.

If you feel you need more than what is in our limits, then please consider moving up to one of our VPS plans so that you can set it up according to your needs.

How helpful was this article to you?

Posting has been disabled.