Any process that modulates the frequency, rate or extent of phagocytosis, the process in which phagocytes engulf external particulate material.