• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1035
  • Last Modified:

How to increase memory available to PHP for the FreePBX Reports?

In FreePBX (2.6.0.1) I get a regular error "Your memory_limit, 16M, is set too low and has been increased to 100M. You may want to change this in you php.ini config file."  There is no indication of WHERE in the file or how to format the value.   How do a set this to 100M, and is 100M an appropriate value for FreePBX reports?
0
hmaupin
Asked:
hmaupin
  • 3
  • 2
1 Solution
 
svgmucCommented:
You can add this to your php.ini file:

memory_limit 128M
0
 
vendekaCommented:
Hi,

You can create a php file as info.php and check from your browser via http://www.domain.dom/info.php . In this page you can see where your php.ini file is located.

After you find this file, search for memory_limit and change it as:

memory_limit=100M (for 100M configuration)

Memory limit for a software changes according to your environment so you need to do trial & error method.

<? phpinfo(); ?>

Open in new window

0
 
hmaupinAuthor Commented:
Using vendeka's comment I have edited the php.ini.  Cannot restart until the weekend as it is an active system, but will let you know if it works.  Thanks!
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
vendekaCommented:
By the way, you don't need to restart server only restarting web server is enough. (in this case I believe apache)
0
 
hmaupinAuthor Commented:
Made the changes, rebooted, error message went away!  Thanks!
0
 
hmaupinAuthor Commented:
If you would, can you clarify starting and stopping the apache server?  Thanks, Harold
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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