Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer can not install on PHP 5.5.x (tested 5.5.13) - reopened see #403 #408

Closed
joshua-graham-adelphi opened this issue Jul 9, 2018 · 6 comments

Comments

@joshua-graham-adelphi
Copy link

not sure how to reopen an issue. see #403

@geerlingguy
Copy link

PHP 5.5 has not been receiving security support for over a year, and even 5.6 will be end-of-lifed in less than 20 days. Drupal 7 somewhat supports older versions still, but it's extremely highly-recommended to not use an unsupported/old PHP version if at all possible.

If this project's goal is to help in bootstrapping new Drupal projects, there's even more motivation to use a supported PHP version.

Currently Drupal 8 also supports 5.5 and 5.6, but that lifeline will also be gone once 8.7.0 is released on March 6, 2019... so I wouldn't expect anyone to try doing any work to make any of the dependencies which are not currently backwards-compatible with PHP 5.6 backwards-compatible for just a few months of support for an unsupported PHP version.

@leymannx
Copy link
Collaborator

leymannx commented Dec 9, 2018

I must apologize upfront for the following heretical question:

Why on earth would you try to install Drupal 8 on a PHP version that reached end-of-life more than two years ago?

A release that is no longer supported. Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.

While Drupal 8 still may support an outdated PHP version some dependencies listed in this Composer project may already have dropped it. I guess your best bet is to download the mere Zip on https://www.drupal.org/project/drupal and start your project from there (not recommended) or to upgrade your PHP version (recommended).

@joshua-graham-adelphi
Copy link
Author

Hi @geerlingguy & @leymannx

I do concur with your opinion, however, the project page implies that the project should run on PHP 5.5.9 as per minimum drupal. Can we have the page updated with minimum PHP version required for this composer project????

@geerlingguy
Copy link

@joshua-graham-adelphi - Good point. Note that I'm not the maintainer of this project, just a happy user and contributor. Anyone can update the README via a pull request. I would suggest that section be removed entirely, but if it is kept around, it should definitely be changed.

@webflo
Copy link
Member

webflo commented Jan 26, 2019

I tried to run composer install in the docker image from Drupal CI (drupalci/php-5.5.38-apache:production). It did not succeeded. PHP 5.5 is EOL. I see no reason to support PHP 5.5 any further. PHP 5.6 should be sufficient for most cases.

Fixed in 4a664d2.

@webflo webflo closed this as completed Jan 26, 2019
@joshua-graham-adelphi
Copy link
Author

Thanks for update in readme & composer.json :-)

whikloj pushed a commit to islandora-deprecated/drupal-project that referenced this issue May 24, 2019
* Honor .env files and suggest usage (drupal-composer#351)

* Remove extra whitespace (drupal-composer#371)

* Updated argument name

* Bump minimal version

* Bump minimal version to 8.5.3

* Fix installer path for drush commandfiles.

* Update drupal-composer/drupal-scaffold

drupal-composer/drupal-scaffold is a full featured plugin and provides its own command.

* Fix tests on Travis CI (drupal-composer#405)

* Copy the editor config and gitattributes from drupal to the root. (drupal-composer#404)

* Remove "drupal-scaffold" from scripts (drupal-composer#275)

* Fix typo in README.md

* Remove unused use statement. (drupal-composer#406)

* Adjust default core patch level to -p2. (drupal-composer#418)

* Bump minimum required composer-patches version to support default patch level (drupal-composer#410)

* Update composer.json to require latest stable version of Drupal (drupal-composer#424)

* Require zaporylie/composer-drupal-optimizations (drupal-composer#442)

* Issue drupal-composer#408: Bump minimum PHP version to 5.6

* Removing redundant "--stability dev" from installation command (drupal-composer#450)

Fixes drupal-composer#449.

* Added "composer-exit-on-patch-failure": true option to composer.json (drupal-composer#420)

* Sync new lines at the end of the files (drupal-composer#453)

* Quote wildcards to avoid issues in some shells (drupal-composer#456)

* Add PHP 7.3 to Travis CI (drupal-composer#476)

* Change createRequiredFiles messages to reflect what occured (drupal-composer#467)

* Drop PHP 5.6 testing (drupal-composer#489)

* Bump minimum version to 8.7.0 (drupal-composer#488)

* Update .travis.yml

* update composer.lock
dannylamb pushed a commit to islandora-deprecated/drupal-project that referenced this issue Jan 2, 2020
* Honor .env files and suggest usage (drupal-composer#351)

* Remove extra whitespace (drupal-composer#371)

* Updated argument name

* Bump minimal version

* Bump minimal version to 8.5.3

* Fix installer path for drush commandfiles.

* Update drupal-composer/drupal-scaffold

drupal-composer/drupal-scaffold is a full featured plugin and provides its own command.

* Fix tests on Travis CI (drupal-composer#405)

* Copy the editor config and gitattributes from drupal to the root. (drupal-composer#404)

* Remove "drupal-scaffold" from scripts (drupal-composer#275)

* Fix typo in README.md

* Remove unused use statement. (drupal-composer#406)

* Adjust default core patch level to -p2. (drupal-composer#418)

* Bump minimum required composer-patches version to support default patch level (drupal-composer#410)

* Update composer.json to require latest stable version of Drupal (drupal-composer#424)

* Require zaporylie/composer-drupal-optimizations (drupal-composer#442)

* Issue drupal-composer#408: Bump minimum PHP version to 5.6

* Removing redundant "--stability dev" from installation command (drupal-composer#450)

Fixes drupal-composer#449.

* Added "composer-exit-on-patch-failure": true option to composer.json (drupal-composer#420)

* Sync new lines at the end of the files (drupal-composer#453)

* Quote wildcards to avoid issues in some shells (drupal-composer#456)

* Add PHP 7.3 to Travis CI (drupal-composer#476)

* Change createRequiredFiles messages to reflect what occured (drupal-composer#467)

* Drop PHP 5.6 testing (drupal-composer#489)

* Bump minimum version to 8.7.0 (drupal-composer#488)

* Update .travis.yml

* Deprecate PHP 7.0 and 7.1 (drupal-composer#518)

* Revert "Deprecate PHP 7.1" (drupal-composer#521)

This reverts commit 5085410.

* Issue drupal-composer#518: Bump minimum php version to 7.0.8

* Update CI to Ubuntu 18.04 (drupal-composer#520)

* Revert "Update CI to Ubuntu 18.04" (drupal-composer#526)

This reverts commit ee5bf36.

* Add 'contrib' to Drush commandfile installer path (drupal-composer#525)

* Prefer usage of && operator instead of "and" (drupal-composer#530)

* update to drupal 8.8.0

* replace webflo/drupal-core-require-dev with drupal/core-dev

* Use scaffold plugin and composer packages from Drupal core 8.8.0 (drupal-composer#522)

* Issue drupal-composer#539: Remove deprecated CONFIG_SYNC_DIRECTORY

* update to 8.8.1

Co-authored-by: Moshe Weitzman <[email protected]>
Co-authored-by: Jakub Piasecki <[email protected]>
Co-authored-by: Markus Orenstrat <[email protected]>
Co-authored-by: Florian Weber <[email protected]>
Co-authored-by: Rodrigo <[email protected]>
Co-authored-by: Norman Kämper-Leymann <[email protected]>
Co-authored-by: Alex Milkovskyi <[email protected]>
Co-authored-by: Dezső BICZÓ <[email protected]>
Co-authored-by: Matthew Grasmick <[email protected]>
Co-authored-by: Andy Postnikov <[email protected]>
Co-authored-by: Hans Fredrik Nordhaug <[email protected]>
Co-authored-by: Maarten Segers <[email protected]>
Co-authored-by: Peter Kokot <[email protected]>
Co-authored-by: Simon Perdrisat <[email protected]>
Co-authored-by: Charles Tanton <[email protected]>
Co-authored-by: Greg Anderson <[email protected]>
Co-authored-by: Paul <[email protected]>
shrop pushed a commit to shrop/drupal-project that referenced this issue Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants