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?
hmaupinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IP Telephony

From novice to tech pro — start learning today.