- PHP refuses update because it is in server root (no permission)
Drupal 7 (php7.3) & Drupal 10 (PHP 8.1) on the same server and both are working (although D10 is hamstrung by Composer not updating).
Can't update (or install other modules) to D10 because Composer keep referring to server root Composer which requires update. . . Even when I call Composer from the D10 directory.
D10 IS running php8.1 (working) but won't update since Composer only sees root Composer (2.4.4) and "must" update to Composer 2.5.3 before allowing module installs.
D7 (working) but won't run (white screen no login) under PHP8.1. It returns to normal after setting php back to 7.3
Yes I assume there are D7 modules not compatible (with php8.1), but lots of (Drupal 7) modules and I have not found a fool-proof method or app to determine which ones are crashing Drupal7 under php8.
Of course I don't update D7 install with Composer.
Does anybody have an app to determine which Drupal 7 modules are compatible or not?
Thanks for your attn, Mike B
Done everything I know to do, but not wanting to destroy the Drupal7 install which is working fine.
I can't be the only one that needs my Drupal 7 install to become PHP8 compatible. In any case my Drupal 10 install IS my dev site. I know, not suggested, but has worked with other Drupal upgrades. I guess I don't know how to make the Drupal 10 install to "take over" the composer commands. I've tried from various (composer & others) folders in the Drupal 10 install but it still defaults to the server root. I don't want the server root to default to php8 because it will crash the Drupal 7 live site.
https://www.drupal.org/docs/7/system-requirements/php-requirements-for-drupal-7 "(3) The latest Drupal 7 version is recommended to get full PHP 8 support." -March 2023 My Drupal 7 install ver is 7.98. Now I'm sure that some modules aren't compat, but just how to tell which ones is the rub. However, the Drupal 7 shouldn't crash if core is compat with php8. . .but it does. I naively believe that if my Drupal 7 install will be php8 compat then I will be able to update/add modules to my Drupal 10 install. (and maybe composer too)