Fixed some issues with php and apache