replace the main page with php one