basic php fpm functionality; this script is currently broken as it stands because I'm working out how to best separate the files