I'm a newbie to Apache, PHP and CGI. I've tried to RTM but I just
cannot find out how to get this to work. I need for PHP to run as a
CGI process. Don't ask why, it's for a client.
Intel P-133, 48MB RAM.
RedHat Linux 5.1
Yes I know there's a more recent version of Apache, once again, client
issue. Maybe I can get them to upgrade later.
What I've done:
Installed Apache: It works fine when serving HTML.
Installed PHP. The following script runs from the command line:
echo ("Hello Universe!\n\n");
It prints, Hello Universe, and no error messages.
I've read the PHP mailing list archives and tried to glean ideas from
messages posted there. I'm going to subscribe to the list again to
post this question if I have to, but the list is *so* busy I can't
keep up with it.
I've been over the PHP and Apache docs several times. Maybe I'm just
stupid and missed the obvious...but I still don't know what to do.
I've twiddled httpd.conf and srm.conf a bit based on stuff I read in
the mailing list archives. Nothing seemed to happen. I'd post the
changes, but I'm on a Win98 box right now...That's why I don't have
error messages in front of me right now either. Doh! The most frequent
error was something like, "file not found".
Oh, yeah, I *did* stop and restart Apache between editing sessions.
I know this can't be too hard to get working, I just need a whack on
the side of the head to get me started!