0

see this problem when trying to import a large file to the database:

Fatal error: Maximum execution time of 60 seconds exceeded

I have tried all the solutions on the internet but the same problem

I also used the solutions here and it didn't work: Maximum execution time in phpMyadmin

mysql in phpmyadmin.

Abdulaziz
  • 1
  • 1

1 Answers1

0

You need to edit phpmyadmin.conf!

Sample path: C:\wamp64\alias\phpmyadmin.conf

Or edit through your WAMP icon by: ->Apache -> Alias directories -> phpMyAdmin

you will find the code as below :

<Directory "${INSTALL_DIR}/apps/phpmyadmin5.2.1/">
      Options +Indexes +FollowSymLinks +MultiViews
      AllowOverride all
      Require local
    # To import big file you can increase values
      php_admin_value upload_max_filesize 1028M
      php_admin_value post_max_size 1028M
      php_admin_value max_execution_time 3600
      php_admin_value max_input_time 3600
    </Directory>

change the variable : php_admin_value max_execution_time as you need

Ahmed Elsayed
  • 108
  • 10