Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- git
- max_execution_time
- CentOS
- virtualbox 설치
- Git Bash
- 고정아이피
- 30 seconds exceeded
- 도커
- 도커 컨데이너 빌드업
- login custom error message
- virtualbox centos 설치
- virtualbox 리눅스 설치
- fatal error
- VirtualBox
- ssh접속
- git log
- ifconfig
- Client Caching
- PHP Time Limit
- php
- IaaS
- ssh
- laravel
- Reset
- web cache
- Maximum execution
- revert
- PaaS
- Filter Reference login errors
- login error message
Archives
- Today
- Total
JB`s 개발이야기
Fatal error: Maximum execution time of 30 seconds exceeded 본문
로컬에서 테스트를 하던중 DB정보가 대량이다 보니 검색을 하는 과정중에
Fatal error: Maximum execution time of 30 seconds exceeded
라는 에러가 나타났다.
1. 원인
- 최대 스크립트 실행시간의 초과로 인한 에러 발생 이다.
2. 관련 PHP 설정
- PHP Time Limit
3. PHP Time Limit 란?
- PHP Time Limit 은 사이트에서 한번의 명령에 사용할 수 있는 시간의 최대값을 말합니다. 워드프레스사이트가 설치된 서버는 명령이 실행되고 완료될 때 까지 여러가지 이유로 인해서 시간이 소요됩니다. 이 때 완료되기 이전에 설정된 시간에 이르게 되면 “Fatal error: Maximum execution time of xx seconds exceeded…” 와 같은 치명적인 에러가 발생합니다.
4. 해결책
- php.ini 를 열어서
- max_execution_time = 30 (디폴트 설정)을 늘려준다.
Comments