New answers tagged

2

Drush dl was removed because it served no more purpose (it was supplanted by composer) The way to add dependencies to composer is with ‘composer require ’ So to require a specific module like group would be ‘composer require drupal/group’ To add version constraints you specify then after to name with a ‘:’ in between. The Drupal projects pages and ...


0

Here is what I did on a fresh install of ubuntu 20.04. First we'll need to install lamp: apt install lamp-server^ Then install php 7.4 gd apt install php7.4-gd Setup mysql securely: sudo mysql_secure_installation Enable apache rewrite and restart: a2enmod rewrite; service apache2 restart Install composer: curl -sS https://getcomposer.org/installer -o ...


3

Currently the best way to install any modern php application is through composer. So to install Drupal 8 you tell composer the following. composer create-project drupal/recommended-project:8.x-dev Drupal this would install Drupal 8 into the Drupal dir. Or composer create-project drupal/recommended-project Drupal For the latest release (one of Drupal 9) You ...


2

You ran out of memory. This happens all the time with Composer. Composer is a huge memory hog, especially when used with Drupal because of all the external interdependencies. And Drupal's requirements continue to grow with every new release, so the memory needed to use Composer with Drupal continues to grow. 4Gb of available memory should be enough, ...


1

You can use Laragon https://laragon.org it's a dead-simple configuration and you can install a blank drupal 8 projects (+ tons of other options). If you are more advanced user you can use Docker or Vagrant. I would prefer Docker-based (Lando, Docksal...)


0

The error, which is reported by system_requirements(), means that either that directory doesn't contain any .htaccess file, or that .htaccess file doesn't contain the following lines. <Files *> # Override the handler again if we're run later in the evaluation list. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003 </Files> Together ...


4

Depending on how you are running this locally (native, Docker, etc) this can differ, but I will assume you are using what comes with macOS to run Drupal. The difference here is Mac does not have a www-data or apache user like Linux does. If you are running with the defaults, the user you are looking for is _www (unless you have modified this in Apache confs)....


Top 50 recent answers are included