I've seen numerous PHP installation routines, and one of the simplest I've scene revolves around something like these statements:
Code Sample:
$ cd /tmp
$ tar -zxvf php-3.0.7.tar.gz
$ cd php-3.0.7
$ ./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/etc/httpd \
--with-mysql \
--with-gd \
--with-zlib \
--with-system-regex
|
|
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?