How to increase post size in php
First of all goto the apache folder just goto your server folder(i.e your xamp or lamp or mamp or wamp folder) locate this path i.e
/apache/bin/php.ini
or
/php/php.ini
now open the php.ini file
locate this line contains text like this "post_max_size = 8M"
by default maximum post size is 8MB (you can post maximum 8MB of data using POST method)
change the value of post_max_size=16M or 32M or 1024M as per your requirements
save the php.ini & restart your Apache server
/apache/bin/php.ini
or
/php/php.ini
now open the php.ini file
locate this line contains text like this "post_max_size = 8M"
by default maximum post size is 8MB (you can post maximum 8MB of data using POST method)
change the value of post_max_size=16M or 32M or 1024M as per your requirements
save the php.ini & restart your Apache server
Comments
Post a Comment