Whenever I try to create a mysqli object, as in;

```
$mysqli = new mysqli(host, user, pass, database);

```

...the page just loads for around a minute, then stops, showing all the content of the page up until that line.

info() says that MySQLi (and MySQL if that matters) are enabled, and I can access the MySQL CLI. I'm also working on a local machine, not a remote server.

I feel like I've missed something obvious. Can anyone shed some light on it?

Edit: just for clarification, I am actually putting real values into the mysqli constructor :)