I'm looking for a way to install php 5.2.8 using ports on freebsd 7.0. I just don't know how to choose php 5.2.8, make under /usr/ports/lang/php5 begins by fetching php-5.2.10.tar.bz2. thx in advance guys
Basically, port is version record and some patches corresponded to the version. The easiest way to make an old version is to modify distinfo file: put 5.2.8 records in it, and try to build it. The bad things that may happen is that the port won't compile. That means you'll need patches for that version too. Now, cvs way of grabbing the whole port is almost impossible nowadays. That was the way to grab whatever you needed as what existed on a specified date with a single command. But if you don't mind to pick the required files by hand, grab them from http://cvsweb.freebsd.org/ports/lang/php5 You'd need to grab all the files in it as of 5 Mar 2009. The next day (6th) the port was updated to .9 version. So walk through the files history and download the right revisions. Back up the existent /usr/ports/lang/php5 directory, put the downloaded files there. You're ready to try building the thing.