FS#56628 - [drupal] Drupal 8 doesn't support PHP 7.2, adapt requirements
Attached to Project:
Community Packages
Opened by Tom Debruyne (tdebruyn) - Friday, 08 December 2017, 08:08 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 09 March 2018, 16:28 GMT
Opened by Tom Debruyne (tdebruyn) - Friday, 08 December 2017, 08:08 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 09 March 2018, 16:28 GMT
|
Details
Drupal 8 doesn't support PHP 7.2 yet:
https://www.drupal.org/project/issues/search?projects=Drupal+core&project_issue_followers=&status%5B%5D=Open&priorities%5B%5D=400&issue_tags_op=%3D&issue_tags=PHP+7.2 THe PHP requirement should be changed to 'php<7.2' and 'php-gd<7.2' |
This task depends upon
Drupal 8.5 is only scheduled for March 2018 (https://www.drupal.org/core/release-cycle-overview), until then, it would be convenient to create php71 and php-gd71 packages and have drupal package depending on them.
1. php-apache should also be version 7.1
2. /etc/php/php.ini got overwritten
When reverting php-apache to the old version and replacing php.ini with an old backup, the site works well with drupal 8.4.4, php71 and php-gd71.
Thanks!
2 - you should restore it manually from .pacsave file, I think it cannot be fixed in current pacman.
2) etc/php/php.ini should not be overwritten, removing one package that conflicts with another creates a pacsave and then creates a php.ini where there was none.
In theory, pacman could be taught to recognize when a package that conflicts/provides another package also provides the same backup file, and simply leave it in place the whole time. But there could be legitimate reasons why the file needs to be replaced, so I'm not sure that is actually a *good* idea.