I have installed a LAMP server I need to upload 40MB database through phpMyAdmin .
I have made changes in php.ini to upload 40MBSQL file. Below I have defined all steps which I have taken to change upload configuration
Open php.ini file using
In the file /etc/php5/apache2/php.ini I have changed
After that,I restarted the apache2 server using
Create a PHP file with
I have made changes in php.ini to upload 40MB
Open php.ini file using
sudo gedit /etc/php5/apache2/php.ini
In the file /etc/php5/apache2/php.ini I have changed
post_max_size = 8M to
post_max_size = 64M and
upload_max_filesize = 2M to
upload_max_filesize = 64M
After that,
sudo /etc /init . d/apache2 restart
Create a PHP file with
<?php phpinfo(); ?>
open it with your browser
No comments