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. That's because in some platforms, garbage collection is implemented through a script that runs every certain time (a cron script) that reads directly from php.ini , and therefore any attempts at changing it at ...

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

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

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

  6. 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:

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

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