My site is hosted by Earthlink and they are running PHP version 4. The problem is that any php scripts run on there will only work with a .php4 extension. I tried changing install.php to install.php4 and it ran, but after putting in the initial info, it errored out, saying that install.php couldn't be found.
Is there a way to get around the .php4 issue?
Ask your host to enable .php files. If they won't, you could try using htaccess (if you are on an Apache powered webserver) to redirect .php requests to .php4. If you can't do that, then you'll have to open every file up, and change .php to .php4. This may work in your htaccess file:
RewriteEngine ON
RewriteRule ^([a-zA-Z]+)\.php$ $1.php4 [L]
It should automatically redirect .php requests to .php4.
I put that file in my coppermine folder, called it .htaccess, tried it with chmod 644 and 755, and always get a 500 Internal Server Error. If I delete the file, it works like before but still have the php4 problem.
Any ideas.
Ask your host for support. With such an odd server setup I expect they'll be asked about this problem frequently.
Well, I called them up again (Earthlink) and asked them what they could do for me. Their answer was to try putting a 4 at the end of the extensions, and if that doesn't work, I should look for an alternative script that will work. I thought that was a load of bulll. Since I also had problems a couple months ago with their implementation of Perl not working with a new version of my forums, I'm going to look for another web host.
So, does anyone have a good webhost that they can suggest to me?
There are plenty of good hosts - check out the general discussion board.
They sound like lazy hosts - all they have to do is edit the httpd file and add
AddType application/x-httpd-php .php
I guess that's too much work for them, or they have absolutely no idea what they're doing.
They should stick to being an ISP rather than being a web host.