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