php
Filename Sanitizer / Normalizer :
<?php
$str = "Text mit Ä Ö Ü ß é á ú î é ú í ó á ý ";
echo iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $str);
// Text mit A O U ss e a u i e u i o a y
?>
Trim all array elements with PHP:
$trimmed_array = array_map('trim', $fruits);
To see the difference:
Composer Output an PHP-Variable:
<?php
$output = shell_exec( "composer update --dry-run 2>&1" );
echo $output;
Fehler:
Error: Maximum function nesting level of '256' reached, aborting! in html_entity_decode() (line 386 of /home/512/web/core/lib/Drupal/Component/Utility/Html.php)
Lösung (php.ini):
xdebug.max_nesting_level = 1024
Lösung:
apt install php-gd
apt install php5.6-gd
apt install php7.4-gd
Manchmal lässt Webmin PHP Dateien herunterladen statt sie auszuführen.
Lösung : Webmin >> Servers >> Apache Webserver >> [Your VirtualServer] >> PHP "engine off " entfernen.
- Debian 10
- PHP 7
- MySQL / MariaDB
- Apache
- Webmin
- Virtualmin
Example
<?php
echo print_r(debug_backtrace( DEBUG_BACKTRACE_PROVIDE_OBJECT, 1);
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: