$db = new PDO(\'mysql:dbname=xnews;host=localhost;port=\' . $LOCAL_DB_PORT, $LOCAL_DB_USER, $LOCAL_DB_PASS, array(PDO::MYSQL_ATTR_IN
It appears to only be availabe using the mysqlnd driver. Try replacing it with the integer it represents; 1002, if I am not mistaken.