- Issue created by @SKAUGHT
- 🇨🇦Canada SKAUGHT
tagging suggestions
5.0.x - drupal 10.0 php 8.1
5.1.x Drupal 10.1 php 8.1
8.2.x Drupal 10.1 php 8.2 - 🇨🇦Canada SKAUGHT
tagging suggestions
5.0.x - drupal 10.0 php 8.1
5.1.x Drupal 10.1 php 8.1
8.2.x Drupal 10.1 php 8.2 - 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦
Is there a need for WxT to have its minimum PHP version be higher than the version of Drupal core it is running on?
- 🇨🇦Canada joseph.olstad
Ya, I noticed this also, however PHP 8.3 works well with wxt 5.2.3 so it's a bit of an excuse to upgrade.
It's a good idea to upgrade to PHP 8.3. Contrib for Drupal 10/11 is mostly very happy with this version of PHP.
- 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦
Sure, it's great to run on a newer version, but this is about the minimum.
Overall, it is best to follow the PHP requirements of core.
- 🇨🇦Canada joseph.olstad
Agreed, it should be composer that decides the PHP version, not WxT, WxT should aim to be compatible with core. 5.2 targets D10.2 which is compatible with 8.1/8.2/8.3. 5.3 same thing. D10.3 is also compatible with PHP 8.1/8.2/8.3
D11 on the other hand requires minimum PHP 8.3.
- 🇨🇦Canada joseph.olstad
With that said, the upgrade to PHP 8.3 is a good idea and I do recommend it. I've been using PHP 8.3 for a while now. It's worth the small effort to upgrade if possible, but not always possible.
I know that folks using certain docker recipes might find it tougher to upgrade. Certain vendors are slower to provide newer versions of PHP.
- 🇨🇦Canada smulvih2 Canada 🍁
I use docker-scaffold for all of my projects, and I am able to use WxT 5.2.x with both PHP8.2 and PHP8.3. Makes it nice not to pin a version of PHP and just use what core defines as a requirement range. I have one project upgrading to WxT 5.3.x but need to stay on PHP8.2 until they certify a new version of their OS. I have another project upgrading WxT to 5.3.x as well as PHP8.3.