getting ports updated on an older FreeBSD (5.1)

andrew clarke mail at
Mon Jun 22 16:09:33 UTC 2015

On Mon 2015-06-22 12:20:08 UTC+0200, Christoph Kukulies (kuku at wrote:

> I'm running a somewhat come into age server under FreeBSD 5.1 at the 
> moment and I'm in need to update to php5. Trying to install php-5.0.0
> in ports results in an error message
> fetch: 
> Not Found

You'll probably need to download php-5.0.0.tar.bz2 manually and move
it to /usr/ports/distfiles/.

I imagine you're using the ports tree supplied with FreeBSD 5.1, which
would be very old, so you'll encounter missing distfiles like the

You could update your ports tree, however the ports tree in 2015 is no
longer compatible with FreeBSD 5.1.

I suspect PHP 5.0.0 is EOL upstream and has security issues and other
bugs. I wouldn't recommend using it.

Upgrading your server to a modern version of FreeBSD would allow you
to install current supported versions of PHP, etc.

More information about the freebsd-questions mailing list