I have the following code and yesterday this was working and now I get nothing sent to my browser...
<?php
ini_set('display_errors','1'); //only during development
ini_set('display_startup_errors','1'); //only during development
error_reporting(E_ALL); //only during development
$options=[
PDO::ATTR_EMULATE_PREPARES => false, // turn off emulation mode for "real" prepared statements
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, //turn on errors in the form of exceptions
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, //make the default fetch be an associative array
];
try {
$pdo=new PDO("mysql:host=localhost;dbname=polthouse",'root','',$options);
} catch (PDOException $e) {
die('Connection failed: ',$e->getMessage());
}
phpinfo();
?>