Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 10:33:03 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155537 Posts in 21714 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Howdy! Problem Installing on Server with both PHP 4 and 5?  (Read 329 times)
Fisherman

Offline Offline

Posts: 21


« on: March 29, 2010, 04:28:06 PM »

Hello!

New guy here. I just installed 2.8.1 on my server. We have PHP 4 and 5 running at the same time. At first I had some problems so I added an .htaccess with php handlers in it (see example below).

Code:
AddHandler php-fastcgi5 .php .php5 .phtml

Still had problems but didn't get a 500 server error this time. So, I changed AddHandler to AddType (see example below) and everything started working on all 8 cylinders.

Code:
AddType application/x-httpd-php .html

So, if anyone has a similar problem, give this a try. I hope it helps. It might not fix all of your problems but at least it's something. Eh?


God bless!
« Last Edit: March 29, 2010, 04:30:34 PM by Fisherman » Logged
yuri

Offline Offline

Posts: 6


« Reply #1 on: April 14, 2010, 10:11:33 AM »

Thank you for posting this great tip!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!