PHP execution timeout setting

Guanhui
Release: 2023-03-01 06:10:01
Original
4935 people have browsed it

PHP execution timeout setting

php execution timeout setting

1. Find the "max_execution_time" configuration item in the php.ini file and modify the corresponding value. ;

Open the php.ini file and find:

max_execution_time=30
Copy after login

Change it to:

max_execution_time=600
Copy after login

2. Use the PHP built-in function "ini_set" to modify the "max_execution_time" configuration item ;


        
Copy after login


The above is the detailed content of PHP execution timeout setting. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!