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
We also upgraded php8.2 to 8.4, this made d10 throw errors. Edit /etc/drupal/10/.htaccess and comment out the zend.assertions line