increase maximum upload file size in php.ini and .htaccess

5:38 AM

(0) Comments

hi all one of the big problem face the developers is server configuration and one of the most popular things is how to maximize the upload file size and post size to upload big files via browser easily without any problems

you can do such thing in two ways

1- .htaccess:
in your htaccess type the following
  • php_value upload_max_filesize 10M
  • php_value post_max_size 20M
and put the htaccess on your website root

2- php.ini
put the following in your php.ini
  • upload_max_filesize = 10M
  • post_max_size = 20M
and put the php.ini on your website root

thats it
happy coding ;)

eslam

,

0 Responses to "increase maximum upload file size in php.ini and .htaccess"

Post a Comment