Increase upload file size in phpmyadmin

Increase upload file size in phpmyadmin
1.Become root by

$ sudo -s

2.Edit /etc/php5/apache2/php.ini by following command

$ vim /etc/apache2/php.ini

3.Now change the following in this file as
Completed example, to increase 10Mb
upload_max_filesize = 10M ;
post_max_size = 20M ;
memory_limit = 128M

4.Close the file.

5.Restart apache by following command

$ sudo /etc/init.d/apache2 restart

6.Thats it your uploading or importing file size is increased upto 10mb.


How to install LAMP in ubuntu

Type the following commands in terminal of ubuntu:-

sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
sudo apt-get install libapache2-mod-auth-mysql php5-mysql
sudo /etc/init.d/apache2 restart

set password according to your choose
and check on broswer



Subscribe to Davinder Kumar RSS