Added timeout settings to php