Needed Finfo but deleted msi package, so uninstalled php 5.3.0, downloaded 5.3.2 and installed. Now all my sites have max execution time error’s when they hit my custom error handlers. No problems until I updated – has anyone ran into this before?
Checked all error logs and ran through config files – nothing stands out.
Edit:
Commented error handler and I get:
Warning: PDO::__construct() [pdo.–construct]: [2002] A connection
attempt failed because the connected
party did not (trying to connect via
tcp://localhost:3306) in …Core.php
on line 60
Lines 59-60 of core.php:
$this->db = new PDO('mysql:dbname=' . $config['database']['db'],
$config['login']['username'], $config['login']['password']);
PDO is connecting to MySQL 5. I’m starting to think this may be a 5.3.2 bug.
Resolved by re-installing PHP 5.3.0. Possible 5.3.2 bug or a bug from my own code triggered by update.