PHP Download site
matthew at FreeBSD.org
Tue May 3 14:43:02 UTC 2016
On 03/05/2016 15:14, Jim Ohlstein wrote:
> I'm upgrading lang/php56 this morning using poudriere and we're still in
> the "fetch" phase after almost ten minutes. Looking at the log, it is
> fetching from http://de.php.net/. I've noticed this same slowness before
> as well with php70 being downloaded from Germany.
> Is there a reason for this default, especially where it is so slow?
This used to be a much more common occurrence before the widespread
prevalence of CDNs with points of presence all round the world. Seems
PHP has not (yet) jumped on that bandwagon.
There's a number of things you can add to /etc/make.conf to help speed
things up. Try:
which means 'prefer sites which are in .in' (yes, I know you aren't
physically in India: just choose a country close to where you actually
which means shuffle the list of download sites randomly
which means initially, ignore the official download sites, and always go
try the FreeBSD distfiles mirror at first.
Those may be more or less effective at speeding up your download
depending on exactly on where you're downloading from and where your
downloading to. You'll have to experiment.
If you only want to apply this sort of thing to a specific port, use the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 931 bytes
Desc: OpenPGP digital signature
More information about the freebsd-ports