How to increase upload file size limit PHP in Ubuntu?

How to increase upload file size limit PHP in Ubuntu?

In this post we will give you information about How to increase upload file size limit PHP in Ubuntu?. Hear we will give you detail about How to increase upload file size limit PHP in Ubuntu?And how to use it also give you demo for it if it is necessary.

When i was working on my php project and i need to direct import mysql database in my phpmyadmin in Ubuntu 14.04 system, but my database size was 30MB, so i can’t upload my database. that’s why I need to change upload max file in php.ini. so try to find something how to change upload_max_filesize in php apache2. So if you also fetch problem like this then you can solve that issue just following example:

Open php.ini file

sudo gedit /etc/php5/apache2/php.ini

After run above command you can open php.ini file and find bellow value and change value:

upload_max_filesize 200M

max_file_uploads = 200

Now just restart your apache server:

sudo service apache2 restart

Hope this code and post will helped you for implement How to increase upload file size limit PHP in Ubuntu?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs

For More Info See :: laravel And github

Leave a Comment

Your email address will not be published. Required fields are marked *

7  +  1  =  

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US