Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 358
  • Last Modified:

Should I increase my PHP memory limit?

I'm currently on a VPS with 2 gigs of ram.  I was wondering since I'm running 2 different forums on it.  1 vbulletin and one IPB, should I increase the memory limit of my PHP from 128 to higher?  I didn't know if the current amount was sufficient.  Also if I should increase, what should I increase to?
0
Nathan Riley
Asked:
Nathan Riley
  • 2
1 Solution
 
Loganathan NatarajanLAMP DeveloperCommented:
If you are wondering about the memory limit issue, You can directly increase the PHP Memory Limit if you’ve access to the PHP.ini file on your server .. find the command,   memory_limit = 125M  
to change whatever

0
 
Nathan RileyFounderAuthor Commented:
It's currently set to 128mb.  But I'm wondering should it be more?
0
 
sihar86Commented:
From http://php.net/manual/en/ini.core.php
memory limit is sets the maximum amount of memory in bytes that a script is allowed to allocate.
A script not all script, so I think 128 MB is too big for a script in forum.
except one of your script consist of heavy data processing.

My suggestion, maybe in apache there is some settings
to determine how much process can handled by apache concurrently.
Coz in forum usually there are many user that login in concurrent time
0
 
Nathan RileyFounderAuthor Commented:
Ah, ok makes sense then.  Well invision boards require 128mb by default on install, so I'll just leave at that for now.  I just didn't know how to monitor for performance issues then?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now