I followed these instructions:
1
2 1. gunzip apache_1.3.x.tar.gz
3 2. tar xvf apache_1.3.x.tar
4 3. gunzip php-3.0.x.tar.gz
5 4. tar xvf php-3.0.x.tar
6 5. cd apache_1.3.x
7 6. ./configure --prefix=/www
8 7. cd ../php-3.0.x
9 8. ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars
10 9. make
11 10. make install
12 11. cd ../apache_1.3.x
13 12. ./configure --prefix=/www --activate-module=src/modules/php3/libphp3.a
14 13. make
15 14. make install
16
17 Instead of this step you may prefer to simply copy the httpd binary
18 overtop of your existing binary. Make sure you shut down your
19 server first though.
20
21 15. cd ../php-3.0.x
22 16. cp php3.ini-dist /usr/local/lib/php3.ini
23
24 You can edit /usr/local/lib/php3.ini file to set PHP options. If
25 you prefer this file in another location, use
26 --with-config-file-path=/path in step 8.
27
28 17. Edit your httpd.conf or srm.conf file and add:
29
30 AddType application/x-httpd-php3 .php3
31
32 You can choose any extension you wish here. .php3 is simply the one
33 we suggest.
34
35 18. Use your normal procedure for starting the Apache server. (You must
36 stop and restart the server, not just cause the server to reload by
37 use a HUP or USR1 signal.)
38
Only my httpd file says "AddType...httpd-php .php" because I'm using php4, not 3. I've made other similar changes where appliccable, when directory names were different because of the version. It's 4.1.1, incidentally.
When I go to look at phpinfo, all I get is the option to download the file. If you want to look, it's at
http://63.87.112.125
and
http://63.87.112.125/phpinfo.php
I never imagined trying to install something could be so frustrating. Argh. I really, really appreciate the help, thanks.