- Issue created by @poker10
- Status changed to Needs review
over 1 year ago 9:40am 6 August 2023 - last update
over 1 year ago run-tests.sh exception - πΈπ°Slovakia poker10
Updated the wording in the IS and added a patch for
INSTALL.txt
+ other files (base on #3319435: Update system requirements (including INSTALL.txt) for D7 β ).As in the other issue we committed earlier, I suppose we should add a change record or at least release note mention, because all sites on PHP lower than PHP 5.6 will be unable to run
update.php
after this is released (see β ). - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago Drush setup of Drupal Failed - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,155 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - πΈπ°Slovakia poker10
We have discussed this with @mcdruid on Slack and think that it will be better not to block DrupalCI / update.php on lower PHP versions right now.
Uploading a modified patch, which will block only installing a new Drupal site on PHP < 5.6 (which is something, that nobody should do these day anyway) and which is updating text requirements.
- last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,155 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,158 pass, 1 fail - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,119 pass, 1 fail - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,120 pass - π¬π§United Kingdom mcdruid π¬π§πͺπΊ
I've updated the docs pages listed (1,2,3) in the IS.
Discussed with @poker10 that we might not remove D7's ability to run tests in earlier PHP versions (e.g. by updating the DRUPAL_MINIMUM_PHP constant).
However, that doesn't mean older versions are still supported - it just might be useful to be able to check whether proposed changes will break in versions that are no longer actively supported / recommended.
- πΈπ°Slovakia poker10
The PHP 5.3 testing now has one failure - https://www.drupal.org/pift-ci-job/2743110: β
testInternalBrowser
fail: [Browser] Line 76 of modules/simpletest/simpletest.test: Cannot access install.php with a "simpletest" user-agent header.
It seems like this part of the code is checking that access to the
install.php
is disabled while running tests (see: #225880: non-writablilty of settings.php when created by webserver β ). The code is supposed to run and return 403 a bit further:// The user agent header is used to pass a database prefix in the request when // running tests. However, for security reasons, it is imperative that no // installation be permitted using such a prefix. if (isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], "simpletest") !== FALSE) { header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); exit; }
We should either add a similar check to the
install.php
(probably not worth), or keep it as it is, as the test is passing in other PHP versions, so it is still being tested if everything is OK. This failure will also highlight that the PHP 5.3 is unsupported, as there will be at least this one mentioned failure present. - πΈπ°Slovakia poker10
Or we could also add a 403 header to the
install.php
, just before theexit
call.// Exit early if running an incompatible PHP version to avoid fatal errors. if (version_compare(PHP_VERSION, '5.6.0') < 0) { print 'Your PHP installation is too old. Drupal requires at least PHP 5.6. See the <a href="https://www.drupal.org/docs/7/system-requirements">system requirements</a> page for more information.'; exit; }
Personally, I think that this one failure in unsupported PHP version is not a problem.
- πΈπ°Slovakia poker10
I have drafted a change record: https://www.drupal.org/node/3383555 β
I think this is ready to be committed (patch #3).
- Status changed to RTBC
about 1 year ago 3:35pm 20 October 2023 - π¬π§United Kingdom mcdruid π¬π§πͺπΊ
Yup this looks good to me +1
- last update
about 1 year ago 2,122 pass -
poker10 β
committed ca23b5ee on 7.x
Issue #3379524 by poker10, mcdruid: Update PHP requirements for D7...
-
poker10 β
committed ca23b5ee on 7.x
- Status changed to Fixed
about 1 year ago 5:44pm 20 October 2023 - πΈπ°Slovakia poker10
Committed, thanks!
I have also removed the
PHP 5.3 & MySQL 5.5
from core auto-testing (but it can still be triggered manually in the future, if needed, until the DrupalCI is turned off).Seems like all points are addressed, so closing this.
Automatically closed - issue fixed for 2 weeks with no activity.