Composer
Composer Output an PHP-Variable:
<?php
$output = shell_exec( "composer update --dry-run 2>&1" );
echo $output;
Wie ich aktuell mit Composer und Drush 10 eine Drupal 8 Webseite update:
composer update && drush updb -y && drush crWerde ich dadurch mit der Zeit ein Problem bekommen?
Warum liefern "composer outdated" und "drush ups" so unterschiedliche Ergebnisse, dass mal Updates gezeigt werden mal nicht?
Woran liegt das, dass weder drupal/search_api_solr noch drupal/search_api aktualisiert werden kann?
# composer require 'drupal/search_api:^1.14'
./composer.json has been updated
Gathering patches for root package.
No patches supplied.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Installation von Drupal mit Composer:
composer create-project drupal-composer/drupal-project:8.x-dev . --stability dev --no-interactionWo ist index.php?
Was spricht dagegen, wenn man D8 so updaten würde? :
drush cr && drush ard && drush sset system.maintenance_mode 1 && drush cr
composer update
drush updb && drush entup && drush sset system.maintenance_mode 0 && drush cr
- composer require "drupal/admin_toolbar:^1.36"
to install "admin_toolbar 1.36" or highe
- composer require "drupal/admin_toolbar:1.22"
to install Version 1.22
Composer überschreibt nach jedes Updates .htaccess-Datei und alle personalisierte Einstellungen gehen verloren. Was kann man dagegen tun?
Debian 9 minimal mit
- Apache Webserver
- PHP 7
- MySQL / MariaDB
- Webmin
- Virtualmin
- Composer
- Drush
- Drupal Console
Für eine praktische Anleitung bitte um Ergänzung / Tipps.
Seitennummerierung
- Vorherige Seite
- Seite 2
- Nächste Seite
Neueste Kommentare
Wildcard
Let’s Encrypt will only accept a wildcard via DNS challenge.
If your Plesk instance can’t create the _acme-challenge.example.com TXT (external DNS), the extension can’t complete validation and will show no success.
Same problem
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup()set-timezone Europe/Berlin
sudo timedatectl set-timezone Europe/BerlinTry this:1. Go to Tools &…
Try this:
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem:
Problem:PHP APCu caching…
Problem: