The instructions you were looking at were for setting up PHP as a CGI binary.
I would set it up as a module using the directions just underneathe it on that page.
That should do the trick.
- Delete all the stuff you added.
- Add the lines under "Installing PHP as a Module" for PHP4 and Apache 2