php 5.4.45에서 사용 확인

This commit is contained in:
wonipapa
2017-06-23 16:12:06 +09:00
parent 96d709b4ce
commit f0adc4f0a2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ define("SOCKET_ERROR", "소켓 파일을 찾을 수 없습니다.");
define("JSON_FILE_ERROR", "json 파일이 없습니다.");
define("JSON_SYNTAX_ERROR", "json 파일 형식이 잘못되었습니다.");
if(version_compare(PHP_VERSION, '5.5.9','<')) :
printError("PHP 버전은 5.5.9 이상이어야 합니다.");
if(version_compare(PHP_VERSION, '5.4.45','<')) :
printError("PHP 버전은 5.4.45 이상이어야 합니다.");
printError("현재 PHP 버전은 ".PHP_VERSION." 입니다.");
exit;
endif;