Old pkg/port Archives?

I need to temporarily install PHP 5.5.9 in order to test an application upgrade. The installed version of the app is incompatible with PHP>5, and the current version is incompatible with PHP<7, so I need to upgrade to an intermediate version, upgrade PHP, and then do a final upgrade of the app to the current version, and I want to practice this procedure before I do it in production.

I've tried installing PHP 5.5.9 from source, but installation failed with
chmod: /usr/local/libexec/apache24/libphp5.so: No such file or directory
which I gather was a common occurrence when 5.5.9 was current. The recommended solution is to install mod_php5 from ports, but it's no longer in the ports tree.

Is there anywhere I can find the old port archived for the purpose of compatibility?
It used to be that pkg.freebsd.org allowed browsing for files where you could download a package with txz extension and use pkg add to add the package. Well that ended so I have no good solution to the problem.

There is a package archive on your computer if you have not run pkg clean.
That is your best hope for finding an old package.

How old are we talking here?
Looking here mod_php55 that you want is from <2014.
Old pkg/port Archives? … PHP 5.5.9 …

The closest I could find, in an official archive, is php55-5.5.1.tbz at <http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-9.2-release/lang/>.


Legacy areas elsewhere include: