Installing PHP5 alongside PHP4

Chad Leigh -- Shire.Net LLC chad at
Thu Dec 21 08:42:14 PST 2006

On Dec 20, 2006, at 7:45 PM, Benjamin Kudria wrote:

> Hi,
> I admin a small web hosting server running 6.1-RELEASE-p10, and I  
> have PHP4
> working as a module with Apache 2.0.59.  I have a PHP app that  
> doesn't work
> with PHP4 and requires PHP5, along with the mysql and gd  
> extensions.  Is
> there a way to get PHP5 to run alongside PHP4 short of installing  
> another
> Apache in a jail?

I don't know if you can using ports but by compiling yourself you  
can.  You have to have 2 separate modules you load (with different  
names) and then you have to have one respond to a different file  
extension.  Ie, .php for php4 and .php5 for php5 or whatever.


> Thanks,
> Benjamin Kudria
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe at"

Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at

More information about the freebsd-questions mailing list