Fixed confusion for changing all pages to PHP