我似乎無法得到phpMyAdmin來,因爲它給我的錯誤正確導入SQL文件:的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.
文檔說:
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.
以下是我所做的...
更改的PHP.INI參數
- 的upload_max_filesize = 1000M
- memory_limit的= 1500M
- 的post_max_size = 1500M
- 重新啓動Apache的
我在希望也許我將它們設置得太高也嘗試過不同的限制變量...但那並不重要。 PHPMYADMIN確認(在導入頁面)上傳變量設置爲「(最大:1,000MiB)」,但仍然不好。我只是試圖上傳一個5MB大小的文件。
任何幫助將不勝感激!
Apache錯誤日誌說什麼,如果有的話?您是否使用SSL客戶端證書? – Basic 2012-02-09 14:46:10
我知道這不是一個真正的答案,但有權訪問命令行界面?如果您有權訪問,您可以使用它來導入文件。 – 2012-04-10 13:39:17
您是否嘗試壓縮文件並將其上傳? – 2012-12-24 09:19:24