에러해결

phpmyadmin 상위버전 설치시 "PHP 5.5+ is required" 에러 대처 방법

by 햇빛소년 posted Dec 14, 2015 Views 3195 Likes 0 Replies 0
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 

아래의 파일을 다음과 같이 수정해 준다.

45번 ~ 46번째 줄


#] /libraries/common.inc.php


<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Misc stuff and REQUIRED by ALL the scripts.
 * MUST be included by every script
 *
 * Among other things, it contains the advanced authentication work.
 *
 * Order of sections for common.inc.php:
 *
 * the authentication libraries must be before the connection to db
 *
 * ... so the required order is:
 *
 * LABEL_variables_init
 *  - initialize some variables always needed
 * LABEL_parsing_config_file
 *  - parsing of the configuration file
 * LABEL_loading_language_file
 *  - loading language file
 * LABEL_setup_servers
 *  - check and setup configured servers
 * LABEL_theme_setup
 *  - setting up themes
 *
 * - load of MySQL extension (if necessary)
 * - loading of an authentication library
 * - db connection
 * - authentication work
 *
 * @package PhpMyAdmin
 */

/**
 * block attempts to directly run this script
 */
if (getcwd() == dirname(__FILE__)) {
    die('Attack stopped');
}

/**
 * Minimum PHP version; can't call PMA_fatalError() which uses a
 * PHP 5 function, so cannot easily localize this message.
 */

===================
if (version_compare(PHP_VERSION, '5.5.0', 'lt')) {
    die('PHP 5.5+ is required');

}
=====================================

를 다음과 같이 수정한다.
if (version_compare(PHP_VERSION, '5.3.0', 'lt')) {
    die('PHP 5.3+ is required');

}




/**
 * for verification in all procedural scripts under libraries
 */
define('PHPMYADMIN', true);

/**
 * String handling (security)
 */
require_once './libraries/String.class.php';
$PMA_String = new PMA_String();



   

Articles

1 2 3 4 5 6 7 8 9 10