How to increase the php file upload limits

PHP has several configuration options to limit resources consumed by scripts. By default, PHP is set to allow uploads of files with a size of 2MB or less.
Now you can change these configuaration.
Follow these steps
Step 1: open your server root directory
Step 2: open the php directory
Step 3: open the php.ini file

Try increasing the following values in php.ini, for example:
 
memory_limit = 32M
upload_max_filesize = 50M
post_max_size = 50M
After making these changes, you may need to restart Apache for this new changes to take effect.

* If you like this post please don’t forget to subscribe Techies Badi - programming blog for more useful stuff


EmoticonEmoticon