#196 fixed php errors; added .gitignore