OK, I give up. I'm asking for help. Regardless of how I compile apache and php4, all my browser wants to do is save the .php file.
I bought a book titled "PHP Essentials" and followed the install instructions for PHP3 and Apache. Worked fine.
But I need mysql support, so I got the PHP4 tarball, compiled and installed (same for Apache 1.3.12 while I was at it). This box is a RedHat 6.2, BTW.
Followed the readme's and install's, but I just can't get this thing to work. I tried DSO, but I couldn't even get that to compile with PHP. The static method seems to have compiled apache and php4.
I have 'AddType application/x-httpd-php .php" in my httpd.conf file. I have a php.ini. Both appear to be in the correct location (I inserted a 'qwerty' into the conf file and it barked).
I've got this funny fealing that's it's something bone-head stupid I'm forgetting to do, but I've read, read and re-read the install's, the readme's, php.net, here, googled to heck and back...
tia....