Memory_limit increase is not working, please help!

I am trying to install avactis shopping cart, buy they need atleast 24M of memory limit. Dreamhost is only giving 16M and i cannot install the cart. I tried and tired using custom php.ini, it is not working for me.

Here is my php info: (I bumped to 30M)

But it is still failing at 16MB of usage: Here is the output from avactis script:

Any help, please? I wanted to complete during this weekend, it ruined my weekend :frowning:

Weird. On one of my sites, I didn’t use a custom PHP and it’s giving me 90M. It’s PHP4, though, but, still, I wouldn’t expect 5 to be less by default.

What makes you think memory_limit is the issue? Since I can’t see what memory_test does, (and I’m no PHP expert), I don’t know if this is the real issue.


You need to modify “post_max_size” to 30M as well and you’ll probably want to also change “max_input_time” to something a good deal higher… like try 600 (5mins) and see if that fixes it. It should work fine with those two settings changed though :wink:

Chips N Cheese - Custom PHP installs and the like!

Mousee, That did the trick. I was able to go to the next step in installing the avactis cart. I will complete the installation this evening. Thanks for the tip.

I’m glad it’s working for you now :wink:

Chips N Cheese - Custom PHP installs and the like!

I was able to go past the first step this morning. But now it is not working anymore :frowning:

I am fed up, i wonder why dh restrict memory usage. Atleast they should allow reasonable amount to install needed software. Or they probably discourage people hosting ecommerce applications and only allow people to host static pages. :frowning:

Well, from the following thread, it does seem to be a common problem:

Free unique IP and $67 off with code [color=#CC0000]LMIP67[/color] or use [color=#CC0000]LM97[/color] for $97 off. Click for other Dreamhost coupons / promo codes

That must be discouraging. You should note that, irrespective of how you configure PHP via php.ini, the DreamHost “procwatch” process will still terminate processes that use too much memory, or CPU, or execution time. I’m not saying that this is what is happening to you, but it is a possibility.

I can tell that you are frustrated, but you are kidding, right? These are shared server accounts. If DreamHost did not restrict memory usage in some way there would no way to prevent a single user from monopolizing the resources of the machine and negatively impacting other users.

“Reasonable” is a highly subjective term; what is reasonable for one may not be reasonable to another. Your choice of software, by necessity, must take into consideration the resources you have available. If you want/need to use more resources than are available to you in a shared account, there is always a dedicated server, or DreamHost PS. :wink:

That’s nonsense. Many “ecommerce” applications run fine within the resources available to you as a DreamHost shared server customer. Of course, not every program will. It seems you might have picked one that requires more than DreamHost allows.