PDA

View Full Version : Web2010 install - problems with php extension



manifesto
Mon 24th Apr '00, 10:45am
I just found out from a page (hidden rather well I might add) on my webhosts FAQ, that php files must have either php3 or phtml as their extension for php3 to parse them.

Other than that I think it should work, but what worries me (I haven't done the install yet) is if the program refers to *.php, will I need to change that to *.php3 in the code? If so, is there an easy to way to do this, and how long do you think it'll take me to do?

...I'm getting sick of this host (has lots of weird stuff like this going on, though the support is good...), so I'll probably change sometime soon, but I'd still like to get vB running on this host before I change to another.

wandrer
Mon 24th Apr '00, 11:13am
If you need to change .php to .php3, it should be easy to do a mass search-and-replace through the .php code. Personally I like textpad, but others would work also.

Mike Sullivan
Mon 24th Apr '00, 11:38am
You might want to try this first.
In your main vBulletin directory (ex, /forums), add a file named .htaccess (or add a line to it) with this:

AddType application/x-httpd-php3 .php
That's what I had to do on my server.

manifesto
Mon 24th Apr '00, 11:54am
I tried the thing with .htaccess and it didn't work. Maybe I missed something in the file? Can you post the whole thing that I need?

As for search/replace, I'm still trying that. I use textpad, but it seems to have missed some stuff, so I'm going to go over it again.

manifesto
Mon 24th Apr '00, 12:23pm
Well, I did the search/replace thing (again) with textpad, and it seems to have worked. I just have to wait for the host to setup my mySQL database, and then it should work... At least I hope so.