On Monday 12 May 2008 16:54:37 Zbigniew Szalbot wrote: > How would you advise me to go about installing php4? I do not think I > will be able to do it from ports (it will require an ancient version of > php 4.10). Also I do not want to mix dependencies and such.
Jail for sure. > Another > issue is how to host the site. Use a different port for it (*:8080)? Use > jails (never been in jail so no experience with it so far ;)? > I do have several IPs to play with so I can use them if that helps. Yep, add an IP alias to the external interface, build the jail on that and you're pretty much done (DNS of course being the missing link). There's tools like ezjail in ports, but imo that's more for people who build jails on a regular basis. Also, it is a good idea to do it by hand at least once, so you get a feel for the process and know what's going on underneath the ezjail magic. Believe it or not, the manpage for jail(8) contains a section with the commands to setup a jail from scratch and touches on all the variables required to have it started upon boot. There's more then one reason to do this in a jail. First of all, you can seperate the php versions, something that's not supported by the ports system. Secondly, you can add a second jail where you're going to work the migration on. Once satisfied, you bring them both down, change ip of the new version and wait for bug reports. If it looks like there's too many bugs, you still have the old version available and you can switch the ip's back. You can do this as often as you want, till everything looks good. Thirdly, the cost in memory usage for a jail is negligable compared to the above gains, especially since it will primarily run apache (cron and sshd being the most common other programs). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"