I\'m working on a project in Php 4, and it seems to work fine under normal circumstances, but I\'m trying to get it running on a friend\'s (commercially hosted) website, and having some problems. You see, the server apparently has Php 3.0.something installed to handle .php files by default, but they also have Php 4 installed at another location (/usr/bin/php, or something like that)... What I don\'t know is how to specify that I want my script to be processed by the second copy of Php. I\'ve tried playing around with .htaccess files to change the Action handler for php files, and the most noticeable effect it\'s had is to give me a 500 server error... The only alternative that I can think of is to rename them all to .cgi files and put the location of Php in the shebang line. The problems with this are 1: It seems absurdly hackish for such a conceptually simple problem. 2: Renaming the files to .cgi is somewhat misinforming, since many people associate cgi with Perl... 3: I /have/ tried this, to a limited extent, and it gave me an error that I don\'t remember 😛 It seemed like something still wasn\'t happening right.
Anyway, enough rambling. I\'d greatly appreciate any comments/suggestions that you have. 🙁
-Michael Coupland