mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Change minimum PHP version to 5.5.9
This commit is contained in:
parent
501461d010
commit
e34f59a66f
4 changed files with 21 additions and 18 deletions
13
README.md
13
README.md
|
|
@ -32,18 +32,23 @@ Rhymix는 개발자와 사용자가 서로의 권리와 책임을 존중하는
|
||||||
|
|
||||||
### 설치 환경
|
### 설치 환경
|
||||||
|
|
||||||
- PHP 5.3.3 이상 (PHP 5.5.9 이상 권장, PHP 7 지원)
|
Rhymix를 사용하려면 아래의 조건을 충족하는 웹호스팅이나 서버를 마련하셔야 합니다.
|
||||||
- MySQL 4.1.13 이상 (MySQL 5.0.7 이상 또는 MariaDB 권장)
|
|
||||||
- CUBRID 또는 MS SQL을 DB로 사용할 수도 있으나, 권장하지는 않습니다.
|
|
||||||
|
- PHP 5.5.9 이상 (PHP 7 권장)
|
||||||
|
- MySQL 5.0.7 이상 (MariaDB 권장)
|
||||||
- 필수 PHP 모듈
|
- 필수 PHP 모듈
|
||||||
- curl
|
- curl
|
||||||
- gd
|
- gd
|
||||||
- iconv 또는 mbstring
|
- iconv 또는 mbstring
|
||||||
- json
|
- json
|
||||||
- mcrypt 또는 openssl
|
- mcrypt 또는 openssl
|
||||||
- xml 및 simplexml
|
- simplexml
|
||||||
- php.ini에서 session.auto_start = Off로 설정되어 있어야 합니다.
|
- php.ini에서 session.auto_start = Off로 설정되어 있어야 합니다.
|
||||||
- 설치 폴더 또는 files 폴더에 쓰기 권한이 주어져야 합니다.
|
- 설치 폴더 또는 files 폴더에 쓰기 권한이 주어져야 합니다.
|
||||||
|
- MySQL/MariaDB 외에도 아래의 DB를 사용할 수 있습니다.
|
||||||
|
- CUBRID 9.0 이상
|
||||||
|
- Microsoft SQL Server 2008 이상
|
||||||
|
|
||||||
### 개발 참여
|
### 개발 참여
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ define('__XE_VERSION_ALPHA__', false);
|
||||||
define('__XE_VERSION_BETA__', false);
|
define('__XE_VERSION_BETA__', false);
|
||||||
define('__XE_VERSION_RC__', false);
|
define('__XE_VERSION_RC__', false);
|
||||||
define('__XE_VERSION_STABLE__', true);
|
define('__XE_VERSION_STABLE__', true);
|
||||||
define('__XE_MIN_PHP_VERSION__', '5.3.3');
|
define('__XE_MIN_PHP_VERSION__', '5.5.9');
|
||||||
define('__XE_RECOMMEND_PHP_VERSION__', '5.5.9');
|
define('__XE_RECOMMEND_PHP_VERSION__', '5.5.9');
|
||||||
define('__ZBXE__', true);
|
define('__ZBXE__', true);
|
||||||
define('__ZBXE_VERSION__', RX_VERSION);
|
define('__ZBXE_VERSION__', RX_VERSION);
|
||||||
|
|
|
||||||
|
|
@ -364,15 +364,14 @@ class installController extends install
|
||||||
$checklist = array();
|
$checklist = array();
|
||||||
|
|
||||||
// Check PHP version
|
// Check PHP version
|
||||||
$checklist['php_version'] = true;
|
if(version_compare(PHP_VERSION, __XE_MIN_PHP_VERSION__, '>='))
|
||||||
if(version_compare(PHP_VERSION, __XE_MIN_PHP_VERSION__, '<'))
|
{
|
||||||
|
$checklist['php_version'] = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
$checklist['php_version'] = false;
|
$checklist['php_version'] = false;
|
||||||
}
|
}
|
||||||
if(version_compare(PHP_VERSION, __XE_RECOMMEND_PHP_VERSION__, '<'))
|
|
||||||
{
|
|
||||||
Context::set('phpversion_warning', true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check DB
|
// Check DB
|
||||||
if(DB::getEnableList())
|
if(DB::getEnableList())
|
||||||
|
|
|
||||||
|
|
@ -16,14 +16,13 @@
|
||||||
<span cond="!$val" class="error">ERROR</span>
|
<span cond="!$val" class="error">ERROR</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr cond="$key === 'php_version' && $phpversion_warning === true">
|
<tr cond="!$val && isset($lang->install_checklist_desc[$key])">
|
||||||
<td colspan="2" class="error_description">
|
<td colspan="2" class="error_description">
|
||||||
{sprintf($lang->install_checklist_desc['php_version_warning'], __XE_RECOMMEND_PHP_VERSION__)} <a href="https://secure.php.net/supported-versions.php" target="_blank">[{$lang->more}]</a>
|
<!--@if($key === 'php_version')-->
|
||||||
</td>
|
{sprintf($lang->install_checklist_desc[$key], __XE_MIN_PHP_VERSION__)}
|
||||||
</tr>
|
<!--@else-->
|
||||||
<tr cond="$key !== 'php_version' && !$val && isset($lang->install_checklist_desc[$key])">
|
{$lang->install_checklist_desc[$key]}
|
||||||
<td colspan="2" class="error_description">
|
<!--@end-->
|
||||||
{$lang->install_checklist_desc[$key]}
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</block>
|
</block>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue