php
PHP-CLI umstellen auf PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php- abs
- acos
- acosh
- addcslashes
- addslashes
- apache_request_headers
- apache_response_headers
- apcu_add
- apcu_cache_info
- apcu_cas
- apcu_clear_cache
- apcu_dec
- apcu_delete
- apcu_enabled
- apcu_entry
- apcu_exists
- apcu_fetch
- apcu_inc
- apcu_key_info
- apcu_sma_info
- apcu_store
- array_change_key_case
- array_chunk
- array_column
- array_combine
- array_count_values
- array_diff
Software / Platforms: Apache Webserver, nginx, MariaDB, PHP 8.3, Plesk, Apache Solr
Values for /opt/plesk/php/8.3/etc/php.ini :
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
Solution
$ip = $_SERVER['SERVER_ADDR'] ?? shell_exec("hostname -I");Convert "Western European" encoding to UTF-8 (from ISO-8859-1 / Windows-1252):
$my_detect_encoding = mb_detect_encoding($content, mb_detect_order(), false);
if( $my_detect_encoding != 'UTF-8'){
$content= iconv('ISO-8859-1', 'UTF-8//TRANSLIT//IGNORE', $content);
}
Fint all lines starting with 111
^(111)
Fint other lines (NOT starting with 111)
^(?!111)
Seitennummerierung
- Seite 1
- 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: