Solution:
stat --format '%a' web/settings.php
stat --format '%a' web/
Output:
444
755
Solution:
stat --format '%a' web/settings.php
stat --format '%a' web/
Output:
444
755
Solution:
mkdir bench && cd bench/
wget https://github.com/sergix44/php-benchmark-script/archive/refs/heads/master.zip
unzip master.zip
cd php-benchmark-script-master/
php bench.php --multiplier=2
php bench.php --multiplier=2 --mysql_host=localhost --mysql_user=myusername --mysql_password=mypass123
Install Smartmontools:
apt install smartmontools
Check all Disks (HDD / SSD):
for i in $(ls /dev/sd?); do echo "$i"; smartctl -H $i; done
Check all Disks (NVMe):
Combine Find and Grep to find "max_execution_time = 60
" in all *.ini files (for PHP config).
Example:
find / -type f -name "*.ini" -exec grep -H 'max_execution_time = 60' {} \;
Problem:
Cannot start indexing because another indexing process (like a cron job or Drush command) is already running.
Solution?
Problem:
Attempting to re-run cron while it is already running.
Solution
Cronjob (hourly):
1 * * * * ...myscripts/my-drupal-cron.sh
Neueste Kommentare
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:
I have a view with a path…
I have a view with a path like
/my-content-export
to export entivies as JSON or CSV.admin_toolbar 3.5.2 is the…
admin_toolbar 3.5.2 is the reason. Patch coming ...
Drupal 10.4, in a custom View
Drupal 10.4:
Tools & Settings >> Security…
Tools & Settings >> Security Policy :
Allow only secure FTPS connections
List config vaiables
/usr/sbin/mariadbd --help --verbose | grep "query.*size"