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 · You can not change this setting with ini_set() when running in safe mode. The only workaround is to turn off safe mode or by changing the time limit in the php.ini. -- PHP manual, Runtime Configuration, description of max_execution_time

  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.

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

  5. The set_time_limit () function lets you arbitrarily set how long a script should take to execute. This value is usually set inside php.ini under the max_execution_time setting, however you can override that here.

  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. 9 Ιαν 2024 · Optimizing your php.ini file is crucial for improving the performance and security of your PHP applications. This tutorial will guide you through the best practices for configuring php.ini, PHP’s primary configuration file.