Guest_imported
New member
- Jan 1, 1970
- 0
I've been working on a little news script in PHP, and I've run into a seemingly insurmountable problem. You see, I wrote my program in PHP 4, which is all good and fine; however my friend wants to use it on his site. This poses a problem because the site is hosted by a commercial web host, and their (Apache) server defaults to PHP 3. However, they claim that they have PHP 4 installed at /usr/bin/php and I've been trying to figure out how I can specify to run my scripts with PHP 4. I've tried adding a .htaccess file, but it seems that they don't have the FileInfo override enabled. I've also tried making a simple .cgi file with the shebang specifying the location of php, but I either did that wrong, or it doesnt work either. (I dont really want to do that if there's any other way anyway, it's quite hackish...) So if anyone has any advice/comments please respond...
-Michael Coupland
-Michael Coupland