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
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: