“Un temps d'exécution maximum de 30 secondes dépassé” Réponses codées

Un temps d'exécution maximum de 30 secondes dépassé

ini_set('max_execution_time', '300'); //300 seconds = 5 minutes
Yousef Qaoud

Le temps d'exécution maximum de 120 secondes dépasse XAMPP

And Change xampp\php\php.ini to max_execution_time = 1000; or higher value
Talented Turtle

Erreur mortelle: un temps d'exécution maximal de 120 secondes dépassé dans

//change this in php.ini 
max_execution_time = 500
Agreeable Aardvark

Erreur mortelle: un temps d'exécution maximal de 30 secondes dépassé

// you need to add this line at the bottom of your .htaccess file
Before # END WordPress Like this...

php_value max_execution_time 1000
# END WordPress
Shy Scarab

Un temps d'exécution maximum de 360 ​​secondes dépassé

A better solution here is to change the config that controls phpMyAdmin and not the php.ini file.

If you change the php.ini file you effect everything in PHP and should you write that infinite loop that we all do from time to time it will take longer to terminate your infinite loop than is sensible.

Note: If you are using the 64bit WAMPServer the base folder name will be wamp64 instead of wamp so please amend the below folder names accordingly.

So change \wamp\alias\phpmyadmin.conf. By default it will look something like this although your version of phpMyAdmin will probably be different:

Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.1.14/"

<Directory "c:/wamp/apps/phpmyadmin4.1.14/">
   Options Indexes FollowSymLinks MultiViews
   AllowOverride all
  <IfDefine APACHE24>
    Require local
  </IfDefine>
  <IfDefine !APACHE24>
    Order Deny,Allow
      Deny from all
      Allow from localhost ::1 127.0.0.1
    </IfDefine>
  php_admin_value upload_max_filesize 128M
  php_admin_value post_max_size 128M
  php_admin_value max_execution_time 360
  php_admin_value max_input_time 360
</Directory>
To extend the maximum time limit for importing a database, change the php_admin_value max_execution_time parameter. You may also need to change the other parameters as larger databases tend to come in larger files and take longer to read as well. Example:

  php_admin_value upload_max_filesize 1024M
  php_admin_value post_max_size 1024M
  php_admin_value max_execution_time 1800
  php_admin_value max_input_time 1800
Strange Seal

Réponses similaires à “Un temps d'exécution maximum de 30 secondes dépassé”

Questions similaires à “Un temps d'exécution maximum de 30 secondes dépassé”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code