I want to import database in phpmyadmin but i got error like this... "No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration." my file size is 558kb, on live server
If your database size is greater than 2MB then such problem will occur,
goto php.ini,
then find
upload_max_filesize = 2M
now replace 2M to upload_max_filesize = 10M
now no problem unless your database size is less than 10MB. You can set value as per your requirement.
Check file /etc/apache2/envvars for following lines:
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
If there is different user set than www-data it may cause problem like described.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With