테마를 사용하면서 발생한 에러메세지 및 대응방법
How to use PC
2015. 6. 27. 14:47
Maximum execution time exceeded
"phpvalue maxexecution_time 60" --> 사용하는 테마가 요구하는 시간(내 경우에는 180이었다.)
이런 ' 초과 30 초 최대 실행 시간 "또는" 초과 60 초 최대 실행 시간 " 등 의 메시지 를 받을 수 있습니다. 이것은 php 프로세스가 작동하는 시간을 의미하고, 그것을 초과 하는 것을 의미 합니다. 이 오류를 해결 하는 방법 에는 여러 가지가 있습니다.
Editing .htaccess
.htaccess 파일은 수정하기 전에 받드시 백업한다.
.htaccess 파일을 열어서 다음 내용을 삽입한다. 마지막의 숫자를 조정한다. 60, 180, 256 등으로 필요한 시간만큼 ...
php_value max_execution_time 60
나는 이 방법으로 해결했다.
php_value max_execution_time 180
Editing php.ini
Add the following to php.ini
max_execution_time = 60 ;
If you are unsure of how to make these changes, or if you are on shared hosting that prevents you from making them yourself, you should contact your hosting provider and ask them to increase your maximum execution time.
http://codex.wordpress.org/Common_WordPress_Errors#Maximum_execution_time_exceeded
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /hansong/
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>
<IfModule mod_url.c>
ServerEncoding UTF-8
ClientEncoding EUC-KR
</IfModule>
php_value max_execution_time 180
# END WordPress
'How to use PC' 카테고리의 다른 글
트렐로 사용법_잔디연동시키기 (0) | 2016.07.27 |
---|---|
테마를 사용하면서 발생한 에러메세지 및 대응방법 (0) | 2015.06.27 |
구글 블로그 - HTML tag (0) | 2015.03.22 |
구글 블로그 - 페이지 (0) | 2015.03.22 |
permalink의 한글주소 지원을 위한 아파치서버셋팅 (0) | 2015.02.09 |