Not a happy camper

October 14, 2004 – 3:45 pm

I’m a little peeved. I’ve been trying for the last week or so to get PHP5 running as a CGI on the server that hosts this site, and I’ve been running into brick walls left and right.

The situation is this: I’m on a shared server (Linux-based, running Apache 2.0). PHP4 is installed as a module. I’ve got a copy of PHP5 built and sitting in my user space outside of the web tree, but for the life of me I can’t get the right entries .htaccess to get scripts to use the darn thing. The best I can do is a 404 error, where the server starts looking for my script in a subdirectory of the folder in which the php executable lives (despite building in –enable-force-cgi-redirect and –enable-discard-path, which I took to be the obvious solutions to this problem). I’ve tried everything I can think of to work around this, I’ve rebuilt PHP several times, and I’ve spent hours online with documentation, bulletin boards, and newsgroups, but I just can’t seem to figure things out. Anyone got any ideas?

Post a Comment