English 中文(简体)
PHPMyAdmin file Import Error
原标题:PHPMyAdmin File Import Error
  • 时间:2012-01-13 15:53:48
  •  标签:
  • phpmyadmin

我似乎无法让PHPMYADMIN适当进口文件,因为它给我留下了错误:

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. See FAQ 1.16.

www.un.org/Depts/DGACM/index_spanish.htm 文件说:。

The first things to check (or ask your host provider to check) are the values of upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also said that post_max_size and memory_limit need to be larger than upload_max_filesize.

www.un.org/Depts/DGACM/index_spanish.htm ......

改变后PHP.INI params

  • upload_max_filesize = 1000M
  • memory_limit = 1500M
  • post_max_size = 1500M
  • restarted Apache

我还尝试了不同的限制变量,希望我可能认为这些变量太高......但确实如此。 PHPMYADMIN(在进口网页上)确认,上载变量被定为“(Max:1,000MiB)”,但仍未实现。 我只是试图上载一个规模为5MB的档案。

任何帮助都会受到高度赞赏!

问题回答

我只是把这一点定在我自己的杰夫机器上。 In etc/phpmyadmin/apache.conf You can see where phpmyadmin istries to Store temp file, e.g.:

php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp

使用者可以肯定这一点,即海滩与自由空间一样运行。

就我而言,在我的杰夫机器上,我作为我自己的用户,而不是正常的www-data或pache用户,跑了一步。 这一mp子是我的使用者可悲的。

For others with this problem not solved with PHP .ini settings, look in your html form:

<input type="hidden" name="MAX_FILE_SIZE" value="5000000" />

我的表格的价值低于我的实验室服务器环境。

我在乌兰巴托17处面临这个问题,可能是因为Ive的升级。 问题不值得注意:

sudo chmod 777 /var/lib/phpmyadmin/tmp/

and then its works again.

公开添加“/tmp/”内容,内容是/etc/php/7.2/apache2/php。

i was having this problem on php version 8.1,apache2 running on ubuntu Steps to solve this problem:

  1. login to your server via ssh
  2. cd /etc/php/8.1(your php version)/apache2
  3. nano php.ini
  4. press ctrl+w and look for the line : upload_max_filesize
  5. update with desired limit for example : upload_max_filesize = 512M
  6. similarly look for post_max_size and update with desired value
  7. ctrl+x then press y to save in nano editor
  8. run command : sudo systemctl restart apache2 (to restart apache2)

Check the limit again it ll show the newly set limit





相关问题
Looking to downgrade phpMyAdmin, but don t know what version

Had to re-set up everything on my laptop recently, which included reinstalling XAMPP. While I was quite happy with the version of phpMyAdmin I had installed the first time around, the new bundled ...

MYSQL Inner Join with 2 ON Clauses

I am trying to setup a simple database in which I have a user and store both their residential and postal address. I have 2 tables Users id (Primary Key) name (Varchar 255) residential_id (...

Export structure and data (like in PhpMyAdmin)

I want to export data and structure from MySQL database using PHP. I know about SELECT INTO OUTFILE command but I want to have the file like the one which is generated by PhpMyAdmin in Export window, ...

Exporting database dump via phpMyAdmin to MS SQL

When I use the phpMyAdmin export, it has an option for MS SQL export compatibility. However, the resulting file includes many non-MS SQL compatible items, such as mediumtext and enum datatypes. How ...

热门标签