defensive approach for php.ini timezone and max execution time settings, closes #274