Modified installer to resolve PHP warnings