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. 29 Νοε 2011 · If you use PHP's default session handling, the only way to reliably change the session duration in all platforms is to change php.ini.

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

  4. 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!

  5. 17 Αυγ 2023 · Another way to set PHP session timeout is by using the ini_set() function in a PHP script. Using php.ini settings for session timeout. Find the directive session.gc_maxlifetime and choose smallest possible.

  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. 21 Μαΐ 2023 · If you want to change the timeout value, you can modify this directive in the php.ini file, or you can also set it programmatically within your PHP script using the ini_set() function or the set_time_limit() function.

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