ndmpatriot Posted June 17, 2008 Share Posted June 17, 2008 I contacted support and they told me my error was: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 232 bytes) in /home/halfhalt/public_html/clients/whmcs/admin/configgateways.php on line 0 How would I correct this? Any help is appreciated. - Nicole 0 Quote Link to comment Share on other sites More sharing options...
pauldy Posted June 17, 2008 Share Posted June 17, 2008 This is probably the php memory limit set on your server. If you're on shared hosting you can increase this by dropping an .htaccess file in your root directory with the following entry (or add it to an existing one): php_value memory_limit 64M You may need to adjust the 64M figure, but that certainly worked for me. Paul 0 Quote Link to comment Share on other sites More sharing options...
ndmpatriot Posted June 17, 2008 Author Share Posted June 17, 2008 Thank you for your help. I had to send it a support request to my reseller company. 0 Quote Link to comment Share on other sites More sharing options...
ndmpatriot Posted June 17, 2008 Author Share Posted June 17, 2008 Since I can't edit my above post. My host told me to add it in a php.ini file so I put in the file <? memory_limit = 64M ?> I even raised it to 100M and it still showed a blank page. Any other suggestions? 0 Quote Link to comment Share on other sites More sharing options...
pauldy Posted June 17, 2008 Share Posted June 17, 2008 I can only set this using .htaccess on my account, so don't have any experience of creating a local php.ini file. However it would be worth checking that your memory limit has actually been increased by running phpinfo(). This should show your local setting of memory_limit as well as the server default value. If this isn't available in cPanel, just create a file called "phpinfo.php" containing the line <?php phpinfo(); ?> and upload that to your web site root and open the file in your browser. Paul 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.