diff options
author | xue <> | 2006-01-27 02:26:19 +0000 |
---|---|---|
committer | xue <> | 2006-01-27 02:26:19 +0000 |
commit | 5e6e30fce9e99ec8704bf6700898572cf0f9c1e4 (patch) | |
tree | 5d33960bfd1c555ab247e9a0c09f21458b274977 /requirements | |
parent | ddc25b8fee819757f6468383e6c0183610feb949 (diff) |
Added PHP 5.1.0 requirement checker.
Diffstat (limited to 'requirements')
-rw-r--r-- | requirements/index.php | 1 | ||||
-rw-r--r-- | requirements/messages-zh.txt | 1 | ||||
-rw-r--r-- | requirements/messages.txt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/requirements/index.php b/requirements/index.php index ca173ebf..357e0d16 100644 --- a/requirements/index.php +++ b/requirements/index.php @@ -31,6 +31,7 @@ */
$requirements = array(
array(true,'version_compare(PHP_VERSION,"5.0.4",">=")','PHP version check','PHP 5.0.4 or higher required'),
+ array(false,'version_compare(PHP_VERSION,"5.1.0",">=")','PHP version check','PHP 5.1.0 or higher preferred'),
array(true,'class_exists("DOMDocument",false)','DOM extension check','DOM extension required'),
array(false,'extension_loaded("zlib")','Zlib check','Zlib extension optional'),
array(false,'extension_loaded("sqlite")','SQLite check','SQLite extension optional'),
diff --git a/requirements/messages-zh.txt b/requirements/messages-zh.txt index 0b0cf938..1d08ed71 100644 --- a/requirements/messages-zh.txt +++ b/requirements/messages-zh.txt @@ -3,6 +3,7 @@ passed with warnings = 您的服务器配置符合PRADO的最低要求。请关 failed = 对不起,您的服务器配置不符合PRADO的要求。
PHP version check = PHP版本检查
PHP 5.0.4 or higher required = PRADO需要PHP 5.0.4或更高版本。
+PHP 5.1.0 or higher preferred = PRADO推荐使用PHP 5.1.0或更高版本。它将避免由于递归调用__get/__call引起的错误。
SQLite check = SQLite模块检查
SQLite extension optional = SQLite模块是可选的。如果它不存在,您将无法使用TSQLiteCache。
Memcache check = Memcache模块检查
diff --git a/requirements/messages.txt b/requirements/messages.txt index a6b588c5..28f9e800 100644 --- a/requirements/messages.txt +++ b/requirements/messages.txt @@ -3,6 +3,7 @@ passed with warnings = Your server configuration satisfies minimum requiremen failed = Sorry, your server configuration does not satisfy the requirements by PRADO.
PHP version check = PHP version check
PHP 5.0.4 or higher required = PHP version 5.0.4 or higher is required by PRADO.
+PHP 5.1.0 or higher preferred = PHP version 5.1.0 or higher is preferred by PRADO. It eliminates the error caused by recursive __get/__set calls.
SQLite check = SQLite check
SQLite extension optional = SQLite extension is optional. If it is absent, you will not be able to use TSqliteCache.
Memcache check = Memcache check
|