Hi I'm trying to upload a backup database via phpmyadmin. But the max upload size is 2mb.
I changed php.ini file and restarted the apache but it does not work. the ini file that I changed is in /etc/php.ini this does not seem to change anything.
I used this tutorial to configure everything.
i tried following commands but there is nothing working.
/etc/php5/apache2/php.ini /etc/php5/cgi/php.ini
Can you help me how can I change this default server. thanks.
try with changing file upload size like this in your php.ini
post_max_size = 8M
upload_max_filesize = 2M
to
post_max_size = 100M
upload_max_filesize = 100M
In in your php.ini file these two configuration need to be changed
post_max_size
upload_max_filesize
Common pitfalls from manual
http://www.php.net/manual/en/features.file-upload.common-pitfalls.php