我对此很困惑
Fatal error: Class 'PDO' not found in /home/itstec2/public_html/pard_config/class/Config.php on line 13
这是我的 Config.php
<?php
$dbhost=null;
$dbname=null;
$dbuser=null;
$dbpass=null;
$file = __DIR__ ."/config.json";
$array = file_get_contents($file);
$dbConfig=json_decode($array);
$pardConfig=new PDO('mysql:host='.$dbConfig[0].';'.'dbname='.$dbConfig[1],$dbConfig[2],$dbConfig[3]);
?>
Config.php 文件与所有其他包含一起使用。但它不适用于域。它有那个致命的错误。为什么会这样?