$link = "http://www.itlantik.de/node/add/article?uuid=02516";
if( function_exists('geoip_country_code_by_name') ) {
$geoip_host = geoip_country_code_by_name( parse_url($link, PHP_URL_HOST) );
echo $geoip_host; # DE
}
$link = "http://www.itlantik.de/node/add/article?uuid=02516";
if( function_exists('geoip_country_code_by_name') ) {
$geoip_host = geoip_country_code_by_name( parse_url($link, PHP_URL_HOST) );
echo $geoip_host; # DE
}
Ich bekomme diesen Fehler:
PHP Warning: geoip_org_by_name(): Required database not available at /usr/share/GeoIP/GeoIPOrg.dat
Mein PHP-Script:
<?php
Damit man GEOIP-PECL auf Debian zum laufen bringt:
Danach Apache neu starten oder Konfigurationsdatei neu laden.
<?php
echo geoip_country_code_by_name ( $ip );
// Ausgabe sollte zweistellige Ländercode wie DE oder ähnliches sein.
?>
Neueste Kommentare
List config vaiables
/usr/sbin/mariadbd --help --verbose | grep "query.*size"
Restart MariaDB / MySQL
Commandline:
MariaDB Restart (after changes in /etc/mysql/db-performance.cnf)
After my changes in /etc/mysql/db-performance.cnf
Error: configure: error: no acceptable C compiler found in $PATH
Error:
PHP 8.3, APCu via PECL
PHP 8.3 extra packages (+ pecl, apcu)
apt update apt install plesk-php83-dev zlib1g-dev
https : Secure Connection Failed
I get this error, when I visit https://solr.example.com:8983 :
Remove files and show the number of deleted files
Remove all files starting with 2024 in mydir123 and show the number of deleted files:
find mydir123 -name '2024*' -exec rm -vf {} \; | wc -l
find . -name '*' | xargs rm …
find . -name '*' | xargs rm -v
Maybe Patch
https://www.drupal.org/project/tablefield/issues/3397688
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL: