mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11181] Bump PHP requirement to 5.3.3 (from 5.3.2)
PHPBB3-11181
This commit is contained in:
parent
957508c8b1
commit
7d7dc98b10
8 changed files with 13 additions and 13 deletions
|
@ -5,7 +5,7 @@
|
||||||
* @copyright (c) 2005 phpBB Group
|
* @copyright (c) 2005 phpBB Group
|
||||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
* Minimum Requirement: PHP 5.3.2
|
* Minimum Requirement: PHP 5.3.3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Symfony\Component\Config\FileLocator;
|
use Symfony\Component\Config\FileLocator;
|
||||||
|
|
|
@ -138,7 +138,7 @@
|
||||||
<li>Oracle</li>
|
<li>Oracle</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><strong>PHP 5.3.2+</strong> with support for the database you intend to use.</li>
|
<li><strong>PHP 5.3.3+</strong> with support for the database you intend to use.</li>
|
||||||
<li>The following PHP modules are required:</li>
|
<li>The following PHP modules are required:</li>
|
||||||
<ul>
|
<ul>
|
||||||
<li>json</li>
|
<li>json</li>
|
||||||
|
|
|
@ -262,7 +262,7 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Your server type/version, e.g. Apache 2.2.3, IIS 7, Sambar, etc.</li>
|
<li>Your server type/version, e.g. Apache 2.2.3, IIS 7, Sambar, etc.</li>
|
||||||
<li>PHP version and mode of operation, e.g. PHP 5.3.2 as a module, PHP 5.4.0 running as CGI, etc.</li>
|
<li>PHP version and mode of operation, e.g. PHP 5.3.3 as a module, PHP 5.4.0 running as CGI, etc.</li>
|
||||||
<li>DB type/version, e.g. MySQL 5.0.77, PostgreSQL 9.0.6, MSSQL Server 2000 SP1, etc.</li>
|
<li>DB type/version, e.g. MySQL 5.0.77, PostgreSQL 9.0.6, MSSQL Server 2000 SP1, etc.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<p>phpBB 3.1.x takes advantage of new features added in PHP 5.3. We recommend that you upgrade to the latest stable release of PHP5 to run phpBB. The minimum version required is PHP 5.3.2.</p>
|
<p>phpBB 3.1.x takes advantage of new features added in PHP 5.3. We recommend that you upgrade to the latest stable release of PHP5 to run phpBB. The minimum version required is PHP 5.3.3.</p>
|
||||||
|
|
||||||
<p>Please remember that running any application on a developmental version of PHP can lead to strange/unexpected results which may appear to be bugs in the application (which may not be true). Therefore we recommend you upgrade to the newest stable version of PHP before running phpBB3. If you are running a developmental version of PHP please check any bugs you find on a system running a stable release before submitting.</p>
|
<p>Please remember that running any application on a developmental version of PHP can lead to strange/unexpected results which may appear to be bugs in the application (which may not be true). Therefore we recommend you upgrade to the newest stable version of PHP before running phpBB3. If you are running a developmental version of PHP please check any bugs you find on a system running a stable release before submitting.</p>
|
||||||
|
|
||||||
|
|
|
@ -2382,7 +2382,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
|
||||||
|
|
||||||
<div class="codebox"><pre>
|
<div class="codebox"><pre>
|
||||||
...
|
...
|
||||||
'FOO_BAR' => 'PHP version < 5.3.2.<br />
|
'FOO_BAR' => 'PHP version < 5.3.3.<br />
|
||||||
Visit "Downloads" at <a href="http://www.php.net/">www.php.net</a>.',
|
Visit "Downloads" at <a href="http://www.php.net/">www.php.net</a>.',
|
||||||
...
|
...
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
@ -2391,7 +2391,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
|
||||||
|
|
||||||
<div class="codebox"><pre>
|
<div class="codebox"><pre>
|
||||||
...
|
...
|
||||||
'FOO_BAR' => 'PHP version &lt; 5.3.2.<br />
|
'FOO_BAR' => 'PHP version &lt; 5.3.3.<br />
|
||||||
Visit &quot;Downloads&quot; at <a href="http://www.php.net/">www.php.net</a>.',
|
Visit &quot;Downloads&quot; at <a href="http://www.php.net/">www.php.net</a>.',
|
||||||
...
|
...
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
@ -2400,7 +2400,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
|
||||||
|
|
||||||
<div class="codebox"><pre>
|
<div class="codebox"><pre>
|
||||||
...
|
...
|
||||||
'FOO_BAR' => 'PHP version &lt; 5.3.2.<br />
|
'FOO_BAR' => 'PHP version &lt; 5.3.3.<br />
|
||||||
Visit “Downloads” at <a href="http://www.php.net/">www.php.net</a>.',
|
Visit “Downloads” at <a href="http://www.php.net/">www.php.net</a>.',
|
||||||
...
|
...
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
|
@ -426,7 +426,7 @@ class acp_main
|
||||||
// Version check
|
// Version check
|
||||||
$user->add_lang('install');
|
$user->add_lang('install');
|
||||||
|
|
||||||
if ($auth->acl_get('a_server') && version_compare(PHP_VERSION, '5.3.2', '<'))
|
if ($auth->acl_get('a_server') && version_compare(PHP_VERSION, '5.3.3', '<'))
|
||||||
{
|
{
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'S_PHP_VERSION_OLD' => true,
|
'S_PHP_VERSION_OLD' => true,
|
||||||
|
|
|
@ -21,9 +21,9 @@ define('IN_INSTALL', true);
|
||||||
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
|
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
|
||||||
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
|
|
||||||
if (version_compare(PHP_VERSION, '5.3.2') < 0)
|
if (version_compare(PHP_VERSION, '5.3.3') < 0)
|
||||||
{
|
{
|
||||||
die('You are running an unsupported PHP version. Please upgrade to PHP 5.3.2 or higher before trying to install phpBB 3.1');
|
die('You are running an unsupported PHP version. Please upgrade to PHP 5.3.3 or higher before trying to install phpBB 3.1');
|
||||||
}
|
}
|
||||||
|
|
||||||
function phpbb_require_updated($path, $optional = false)
|
function phpbb_require_updated($path, $optional = false)
|
||||||
|
|
|
@ -143,7 +143,7 @@ class install_install extends module
|
||||||
// Test the minimum PHP version
|
// Test the minimum PHP version
|
||||||
$php_version = PHP_VERSION;
|
$php_version = PHP_VERSION;
|
||||||
|
|
||||||
if (version_compare($php_version, '5.3.2') < 0)
|
if (version_compare($php_version, '5.3.3') < 0)
|
||||||
{
|
{
|
||||||
$result = '<strong style="color:red">' . $lang['NO'] . '</strong>';
|
$result = '<strong style="color:red">' . $lang['NO'] . '</strong>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -302,10 +302,10 @@ $lang = array_merge($lang, array(
|
||||||
'PHP_REGISTER_GLOBALS_EXPLAIN' => 'phpBB will still run if this setting is enabled, but if possible, it is recommended that register_globals is disabled on your PHP install for security reasons.',
|
'PHP_REGISTER_GLOBALS_EXPLAIN' => 'phpBB will still run if this setting is enabled, but if possible, it is recommended that register_globals is disabled on your PHP install for security reasons.',
|
||||||
'PHP_SAFE_MODE' => 'Safe mode',
|
'PHP_SAFE_MODE' => 'Safe mode',
|
||||||
'PHP_SETTINGS' => 'PHP version and settings',
|
'PHP_SETTINGS' => 'PHP version and settings',
|
||||||
'PHP_SETTINGS_EXPLAIN' => '<strong>Required</strong> - You must be running at least version 5.3.2 of PHP in order to install phpBB. If <var>safe mode</var> is displayed below your PHP installation is running in that mode. This will impose limitations on remote administration and similar features.',
|
'PHP_SETTINGS_EXPLAIN' => '<strong>Required</strong> - You must be running at least version 5.3.3 of PHP in order to install phpBB. If <var>safe mode</var> is displayed below your PHP installation is running in that mode. This will impose limitations on remote administration and similar features.',
|
||||||
'PHP_URL_FOPEN_SUPPORT' => 'PHP setting <var>allow_url_fopen</var> is enabled',
|
'PHP_URL_FOPEN_SUPPORT' => 'PHP setting <var>allow_url_fopen</var> is enabled',
|
||||||
'PHP_URL_FOPEN_SUPPORT_EXPLAIN' => '<strong>Optional</strong> - This setting is optional, however certain phpBB functions like off-site avatars will not work properly without it.',
|
'PHP_URL_FOPEN_SUPPORT_EXPLAIN' => '<strong>Optional</strong> - This setting is optional, however certain phpBB functions like off-site avatars will not work properly without it.',
|
||||||
'PHP_VERSION_REQD' => 'PHP version >= 5.3.2',
|
'PHP_VERSION_REQD' => 'PHP version >= 5.3.3',
|
||||||
'POST_ID' => 'Post ID',
|
'POST_ID' => 'Post ID',
|
||||||
'PREFIX_FOUND' => 'A scan of your tables has shown a valid installation using <strong>%s</strong> as table prefix.',
|
'PREFIX_FOUND' => 'A scan of your tables has shown a valid installation using <strong>%s</strong> as table prefix.',
|
||||||
'PREPROCESS_STEP' => 'Executing pre-processing functions/queries',
|
'PREPROCESS_STEP' => 'Executing pre-processing functions/queries',
|
||||||
|
|
Loading…
Add table
Reference in a new issue