little tweaks

PHP 5.5 complains about preg_replace with /e being deprecated
The old `php_fixes` function ignored the ini-timezone