πŸ‡©πŸ‡ͺGermany @m Sami Antaki

Account created on 9 August 2018, almost 6 years ago
#

Recent comments

πŸ‡©πŸ‡ͺGermany m Sami Antaki
$ php -v
PHP 8.2.7 (cli) (built: Jun  9 2023 19:37:27) (NTS)

$ sudo apt install php8.2-bcmath

or

$ composer require 'drupal/commerce:^2.38' --ignore-platform-req=ext-bcmath

πŸ‡©πŸ‡ͺGermany m Sami Antaki

1- Make sure you are in this directory

$ ls
composer.json  composer.lock  vendor  web

2- Install drush

$ composer require --dev drush/drush

3- Try the following it will work

$ vendor/bin/drush

4- Set Command Alias

$ pwd
/var/www/html/drupal

5- Add the output of the previous command instead of x

echo 'alias drush="x/vendor/bin/drush"' >> ~/.bashrc && source ~/.bashrc

echo 'alias drush="/var/www/html/drupal/vendor/bin/drush"' >> ~/.bashrc && source ~/.bashrc

6- He's working

$ drush
Drush Commandline Tool 12.4.3.0

πŸ‡©πŸ‡ͺGermany m Sami Antaki

This works for MariaDB and Drupal 10

πŸ‡©πŸ‡ͺGermany m Sami Antaki

This works for MariaDB

πŸ‡©πŸ‡ͺGermany m Sami Antaki

m Sami Antaki β†’ made their first commit to this issue’s fork.

Production build 0.69.0 2024