I've seen numerous PHP installation routines, and one of the simplest I've scene revolves around something like these statements:
$ cd /tmp
$ tar -zxvf php-3.0.7.tar.gz
$ cd php-3.0.7
$ ./configure --with-apxs=/usr/local/apache/bin/apxs \
I'm a dumb Unix dude, so I don't know if this is a CGI installation of PHP, or the "better" way.
Of course, this is using an old version of PHP.
Also, if I wanted to backup Apache first, do I just do it with a "cp" command?