Cách khắc phục lỗi Maximum execution time of 300 seconds exceeded | VN-Zoom | Cộng đồng Chia Sẻ Kiến Thức Công Nghệ và Phần Mềm Máy Tính

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We need money to operate the site, and almost all of it comes from our online advertising.

If possible, please support us by clicking on the advertisements.

Please add vn-z.vn to your ad blocking whitelist or disable your adblocking software.

×

Cách khắc phục lỗi Maximum execution time of 300 seconds exceeded

VNZ-ROAD

NEXTVNZ
Lỗi này thường gặp khi bạn import database lớn và mất nhiều thời gian, dù bạn đã chọn Allow the interruption of an import in case the script detects it is close to the PHP timeout limit. (This might be a good way to import large files, however it can break transactions.) nhưng vẫn có thể gặp lỗi

Maximum execution time of 300 seconds exceeded


Để khắc phục các bạn làm như sau


Nếu bạn sử dụng WAMP bạn làm theo cách sau

Tìm

C:\wamp\apps\phpmyadmin3.4.10.1\libraries (tùy vào nơi cài đặt trên máy bạn)

Mở config.default.php và thay đổi giá trị $cfg['ExecTimeLimit'] về 0:

$cfg['ExecTimeLimit'] = 0;
Bạn sẽ import thoải mái đủ thời gian


Xampp

  1. Tìm xampp\phpMyAdmin\
  2. Mở config.inc.php
  3. Tìm dòng $cfg['ExecTimeLimit'] = 300;
  4. Đổi về 0 cho unlimited
  5. Nếu không tìm thấy ở đó thì bạn vào đây xampp\phpMyAdmin\libraries và mở file config.default.php
  6. Tìm dòng $cfg['ExecTimeLimit'] = 300;
  7. Đổi thành 0 cho unlimited
  8. Save và restart the server
 


Top