Using GULP with PHP and MySQL

This tutorial was very helpful in getting GULP to work with php. See also, this tutorial.

Also, you then need to set the Apache document root to the directory of you project.