Shell script :
#!/bin/bash
cd /var/www/vhosts/example.com/httpdocs 
drush="php -c /var/www/vhosts/example.com/httpdocs/drush.ini /var/www/vhosts/example.com/httpdocs/vendor/drush/drush/drush"
$drush sapi-c
$drush sapi-i --batch-size=500
$drush ws
$drush status
drush.ini:
Was ist der Untershcied zwischen WSL-2 und Hyper-V , wenn man Docker installieren möchte?
Wenn man viele Ebenen hat und sie jeweils als ein Bild (zb JPG / PNG) exportieren möchte, kann man es unter dem Menupunkt Datei >> Skripten >> Ebenen in Dateien exportieren machen.
Deprecated function: Return type of Drupal\google_analytics\Component\Render\GoogleAnalyticsJavaScriptSnippet::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of modules/contrib/google_analytics/src/Component/Render/GoogleAnalyticsJavaScriptSnippet.php).
Was ist die Lösung?
PHP-Cli 8.2
ln -snf /path/to/php/8.2/bin/php /etc/alternatives/php
drush sql-cli
drush sql:cli
select * from table1;
truncate table2;
Neueste Kommentare
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:
Hilft "cp -avf old new && rm…
Hilft "
cp -avf old new && rm -rvf old"nicht?Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert: