Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. 23 Ιουν 2016 · Increasing the timeout in php.ini by adding a line: max_execution_time = {number of seconds i.e. 60 for one minute} Increasing the timeout in your script itself by adding: ini_set ('max_execution_time',' {number of seconds i.e. 60 for one minute}');

  2. 14 Μαΐ 2012 · What you want is to use the pcntl_alarm function, which will trigger a SIGALRM signal on timeout. For example: // 10 minutes pcntl_alarm( 600 ); pcntl_signal(SIGALRM, function() { print( "Timed-out!\n" ); exit( 0 ); }); Please see here the PHP manual for more on this: http://php.net/manual/en/function.pcntl-alarm.php

  3. 11 Ιουλ 2008 · To prevent the script from timing out, I need to increase the execution time of the specific processing script. Here's how I do it. The PHP ini_set('max_execution_time', 300); //300 seconds = 5 minutes Place this at the top of your PHP script and let your script loose!

  4. Here's an example of how you can use ini_set to increase the PHP script timeout to 300 seconds (5 minutes): ini_set('max_execution_time', 300); You can also use this function to check the current value of the max_execution_time configuration option:

  5. set_time_limit (int $seconds): bool. Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. When called, set_time_limit () restarts the timeout counter from zero.

  6. 18 Οκτ 2023 · There are 4 ways to change the execution time limit in PHP: Change max_execution_time = SECONDS in php.ini. On an Apache webserver, add php_value max_execution_time SECONDS in the .htaccess file. Use set_time_limit(SECONDS) in the PHP script. Finally, we can set the time limit using ini_set("max_execution_time", SECONDS).

  7. To set the session timeout to 30 minutes, we can use the session.gc_maxlifetime directive in the PHP configuration file (php.ini) or by modifying it dynamically using the ini_set() function.

  1. Γίνεται επίσης αναζήτηση για