วันอาทิตย์ที่ 13 มีนาคม พ.ศ. 2559

แก้ปัญหา file size exceeded the maximum size permitted by your PHP

สวัสดีครับ

วันนี้เรามาแก้ปัญหาอัพโหลดไฟล์ SQL ขึ้น Server ด้วย phpMyadmin แล้วแจ้ง Error ว่า

"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."

วิธีแก้ปัญหา (ผมใช้ XAMPP เป็น Web Server นะครับ)

1. เปิด XAMPP Control Panel ขึ้นมา
2. คลิกปุ่ม Config > PHP (php.ini)



3. หาบรรทัดที่เขียนว่า "upload_max_filesize" แก้ขนาดไฟล์ตามที่ต้องการ > Save



4. Stop Service แล้ว Start Service ใหม่

จบครับ



ไม่มีความคิดเห็น:

แสดงความคิดเห็น