Link to home
Start Free TrialLog in
Avatar of hmaupin
hmaupinFlag for United States of America

asked on

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?
Avatar of svgmuc
svgmuc
Flag of United States of America image

You can add this to your php.ini file:

memory_limit 128M
ASKER CERTIFIED SOLUTION
Avatar of vendeka
vendeka
Flag of Taiwan, Province of China image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hmaupin

ASKER

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!
By the way, you don't need to restart server only restarting web server is enough. (in this case I believe apache)
Avatar of hmaupin

ASKER

Made the changes, rebooted, error message went away!  Thanks!
Avatar of hmaupin

ASKER

If you would, can you clarify starting and stopping the apache server?  Thanks, Harold