Fix for misconfigured PHP installations