Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Feb 062011

Change the PHP’s maximum allowed form post size


The default maximum allowed form post size in PHP is only 8MB. If you want to change it, you need to edit the php.ini

vi /etc/php.ini

Locate and set (16M in the following example)

memory_limit = 16M;
post_max_size = 16M;

Try it with the number you need.

Also, remember to restart web server such as Apache if needed.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>