apt install php8.4-fpm
apt install composer
apt install php8.4-bcmath
You must run composer as www-data
sudo -u www-data /bin/bash
cd /etc/drupal
composer create-project drupal/recommended-project 11
cd /etc/apache/sites-available/
edit /etc/apache2/sites-available/*conf to run it under 8.4
cd /etc/drupal/11
composer require drupal/gin
composer -W require drupal/commerce_cart
move the cygnettrailers.ca/modules/cygnet-site and theme in
composer install drush/drush
./vendor/bin/drush -l new.cygnettrailers.ca theme:enable claro
./vendor/bin/drush -l new.cygnettrailers.ca config:set system.theme admin claro -y
(once I was logged in I switched back to Gin)
check with: composer require drupal/components
Did a2disconf php8.2-fpm a2enconf php8.4-fpm, restart etc over and over and apache2 WOULD NOT switch to 8.4 . finally restarted php8.4 THEN restarted apache2, I think did it.
Also switching to 8.4 made d10 throw errors, " Edit /etc/drupal/10/.htaccess and comment out the zend.assertions line