Fatal error: Allowed memory size of 16777216 bytes exhausted

November 16th, 2011 § Leave a Comment

You need to change the maximum memory allowed to a php script to run.
For this you need to open your php.ini (location of this file will depend on where php is installed on your machine). In my case php.ini is in /etc/php5/apache2/php.ini

Open /etc/php5/apache2/php.ini

search for memory_limit

change 16M to 32M

save file, you are good to go!

Advertisement

Tagged: , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Fatal error: Allowed memory size of 16777216 bytes exhausted at Varun's Blog.

meta

Follow

Get every new post delivered to your Inbox.