Skip to content

Commit b8939da

Browse files
committed
[ticket/13407] Bump minimal version to php 5.3.9
PHPBB3-13407
1 parent 73d3d02 commit b8939da

14 files changed

Lines changed: 19 additions & 21 deletions

File tree

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ language: php
22

33
matrix:
44
include:
5-
- php: 5.3.3
6-
env: DB=mysqli
75
- php: 5.3
86
env: DB=mysqli # MyISAM
97
- php: 5.4
@@ -45,5 +43,5 @@ script:
4543
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION ./
4644
- sh -c "if [ '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi"
4745
- sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi"
48-
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3.3' -a '$DB' = 'mysqli' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
46+
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3' -a '$DB' = 'mysqli' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
4947

phpBB/common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
/**
15-
* Minimum Requirement: PHP 5.3.3
15+
* Minimum Requirement: PHP 5.3.9
1616
*/
1717

1818
if (!defined('IN_PHPBB'))

phpBB/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"phpbb/phpbb-core": "self.version"
2626
},
2727
"require": {
28-
"php": ">=5.3.3",
28+
"php": ">=5.3.9",
2929
"lusitanian/oauth": "0.2.*",
3030
"patchwork/utf8": "1.1.*",
3131
"symfony/config": "2.7.*@dev",

phpBB/config/default/container/services.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ services:
167167
class: Symfony\Component\HttpKernel\EventListener\RouterListener
168168
arguments:
169169
- @router
170+
- null
171+
- null
172+
- @request_stack
170173
tags:
171174
- { name: kernel.event_subscriber }
172175

@@ -176,9 +179,6 @@ services:
176179
class: phpbb\symfony_request
177180
arguments:
178181
- @request
179-
- null
180-
- null
181-
- @request_stack
182182

183183
request_stack:
184184
class: Symfony\Component\HttpFoundation\RequestStack

phpBB/docs/INSTALL.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ <h1>Install</h1>
141141
<li>Oracle</li>
142142
</ul>
143143
</li>
144-
<li><strong>PHP 5.3.3+</strong> with support for the database you intend to use.</li>
144+
<li><strong>PHP 5.3.9+</strong> with support for the database you intend to use.</li>
145145
<li>The following PHP modules are required:
146146
<ul>
147147
<li>json</li>

phpBB/docs/README.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ <h1>Readme</h1>
261261

262262
<ul>
263263
<li>Your server type/version, e.g. Apache 2.2.3, IIS 7, Sambar, etc.</li>
264-
<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>
264+
<li>PHP version and mode of operation, e.g. PHP 5.3.9 as a module, PHP 5.4.0 running as CGI, etc.</li>
265265
<li>DB type/version, e.g. MySQL 5.0.77, PostgreSQL 9.0.6, MSSQL Server 2000 SP1, etc.</li>
266266
</ul>
267267

@@ -319,7 +319,7 @@ <h1>Readme</h1>
319319

320320
<div class="content">
321321

322-
<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>
322+
<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.9.</p>
323323

324324
<p>Please remember that running any application on a development (unstable, e.g. a beta release) version of PHP can lead to strange/unexpected results which may appear to be bugs in the application. Therefore, we recommend you upgrade to the newest stable version of PHP before running phpBB. If you are running a development version of PHP please check any bugs you find on a system running a stable release before submitting.</p>
325325

phpBB/install/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
2323
$phpEx = substr(strrchr(__FILE__, '.'), 1);
2424

25-
if (version_compare(PHP_VERSION, '5.3.3') < 0)
25+
if (version_compare(PHP_VERSION, '5.3.9') < 0)
2626
{
27-
die('You are running an unsupported PHP version. Please upgrade to PHP 5.3.3 or higher before trying to install phpBB 3.1');
27+
die('You are running an unsupported PHP version. Please upgrade to PHP 5.3.9 or higher before trying to install phpBB 3.1');
2828
}
2929

3030
function phpbb_require_updated($path, $optional = false)

phpBB/install/install_install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function check_server_requirements($mode, $sub)
157157
// Test the minimum PHP version
158158
$php_version = PHP_VERSION;
159159

160-
if (version_compare($php_version, '5.3.3') < 0)
160+
if (version_compare($php_version, '5.3.9') < 0)
161161
{
162162
$result = '<strong style="color:red">' . $lang['NO'] . '</strong>';
163163
}

phpBB/language/en/install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,10 @@
301301
'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.',
302302
'PHP_SAFE_MODE' => 'Safe mode',
303303
'PHP_SETTINGS' => 'PHP version and settings',
304-
'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.',
304+
'PHP_SETTINGS_EXPLAIN' => '<strong>Required</strong> - You must be running at least version 5.3.9 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.',
305305
'PHP_URL_FOPEN_SUPPORT' => 'PHP setting <var>allow_url_fopen</var> is enabled',
306306
'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.',
307-
'PHP_VERSION_REQD' => 'PHP version >= 5.3.3',
307+
'PHP_VERSION_REQD' => 'PHP version >= 5.3.9',
308308
'POST_ID' => 'Post ID',
309309
'PREFIX_FOUND' => 'A scan of your tables has shown a valid installation using <strong>%s</strong> as table prefix.',
310310
'PREPROCESS_STEP' => 'Executing pre-processing functions/queries',

phpBB/phpbb/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"classmap": [""]
2323
},
2424
"require": {
25-
"php": ">=5.3.3"
25+
"php": ">=5.3.9"
2626
}
2727
}

0 commit comments

Comments
 (0)