Community

Hostpapa won't allow anymore than 30M memory limit

I'm using Hostpapa.ca for my hosting, and unfortunately they don't allow anymore than 32M memory_limit. Is there any work around that I can use? I'm trying to use the ImageCache, and ImageAPI modules, but I keep getting the same "Fatal Error" display.

If anyone has found a away to use these modules, with a 32M limit

OR

If anyone has found a way to change their limit while using Hostpapa.

Please let me know

Thanks

Nick

Comments

In the same boat

I'm in the same boat you're in with HostPapa. I made the mistake of upgrading my xmlsitemap module and ran into the memory issue. Now I don't know what version I had prior to the upgrade. So I just dropped the xmlsitemap module for now.

It doesn't sound like HostPapa is willing to change the settings because the sites hosting is on shared servers. That was their explanation.

Hope someone can help.

Thanks,
Chris

Tried HostPapa

I tried HostPapa for about 2 weeks.
I was migrating an existing site so I added nothing new to it.
Immediately ran into the PHP memory limit. They can't seem to do much about it so I moved elsewhere.
Now I'm thinking it is time to move to a VPS server to try to get the performance I want, even my latest shared hosting provider (NetFirms) chokes on database queries far to often.
I'm just kind of feeling my way along and learning as I go, Think I'll start a list of things to check into before I pick another host.

A bit late..

But better late than never!

I'm pretty new to Drupal (only been seriously investigating it for a few weeks now) and am also on HostPapa. I can't really complain about them, but yes, this was something to work around. However, there is a solution to push the limit to 64M.

in the .../sites/default/settings.php file, add the following line in the PHP settings section at the end:
ini_set('memory_limit', '64M');

That should fix your problems.

Good luck to everybody who finds this post useful!

It works!!

Just want to say thanks for this post.
I tried to install ProsePoint locally and couldn't get it to work so decided to run it live in a folder on my hosting service, which is when I discovered the memory_limit was not big enough, but remembered seeing this post as I am also on HostPapa (and I am very pleased with them) First time after adding the extra setting it loaded properly.

Many Thanks

Anno 12/2011 I still

Anno 12/2011 I still experience the same problem. The trick you suggest does not work. Any other ideas?

You should find a hosting

You should find a hosting provider that allows for the PHP.INI to be modified. That will solve your problem.

My site's hosted by GreenGeeks Drupal Hosting.

place php.ini file in root folder

create php.ini file and paste the below code to that file and finally place it in your drupal root folder

memory_limit = 512M
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
upload_max_filesize = 25M
post_max_size = 25M

This may solve your problem but works on certain servers

vividvilla

I have used Hostpapa before,

I have used Hostpapa before, you can change the php.in
memory_limit = 512M or what you want

the best way is post a ticket.

www.boatinghost.com Free PHP web Host for Drupal

It's actually 64MB

If you run a large Drupal installation you will likely need more than 64MB of PHP memory. HostPapa does not allow this on a shared hosting account. Only on reseller accounts. And their reseller is atrocious. Stay away from these guys!

host papa credit card fraud

I used hostpapa services last year, and they debit my credit card without my agreement.
Weak hosting and thieves...
To avoid !

What works for me with hostpapa

I have quite a few clients on hostpapa and what works for me is this:
at the top of your .htaccess add:
suPHP_ConfigPath ~/public_html

Now create a new php.ini file in your root directory (public_html for hostpapa) and add this:
memory_limit = 512M
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
upload_max_filesize = 25M
post_max_size = 25M

Upload the new .htaccess and php.ini files to the server.
I hope this helps others on hostpapa.

Be careful

for two reasons.

First, it's one edit for them in their httpd configuration file to lock down php.ini, so that suPHP_ConfigPath directives are ignored, and you're back to their default settings again. Keep an eye on it, to make sure you still have that 512 MB you've just set yourself.

Second, if they're using suPHP, your replacement php.ini file has to have everything in it that you need. It doesn't just overwrite the settings that you specify, and fall back to the server defaults for everything else. That's why you need those extension lines in there, otherwise sql just stops working, but there will be other settings in their php.ini file that you may need. You may find things don't quite perform as they should until you've caught all of them.

Advertising helps build a successful ecosystem around Drupal.