PHP 7.1 is downloaded again and again

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
956
Location
🇳🇱
I noticed that the PHP 7.1.2 tar source file is downloaded every night with the cronjob and most of the times I manually check for updates. The file is already there and is not removed before I check for updates. It happened again just now when I do ./build update;

Downloading php-7.1.2.tar.gz...
--2017-03-09 11:19:30-- http://files6.directadmin.com/services/custombuild/php-7.1.2.tar.gz
Resolving files6.directadmin.com (files6.directadmin.com)... 2001:16e8:1:c:62:148:174:106, 62.148.174.106
Connecting to files6.directadmin.com (files6.directadmin.com)|2001:16e8:1:c:62:148:174:106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20301212 (19M) [application/x-gzip]
Saving to: '/usr/local/directadmin/custombuild/php-7.1.2.tar.gz'

100%[============================================================================================================>] 20,301,212 58.1MB/s in 0.3s

2017-03-09 11:19:31 (58.1 MB/s) - '/usr/local/directadmin/custombuild/php-7.1.2.tar.gz' saved [20301212/20301212]

Somehow CB is not recognizing the current 7.1.2.tar.gz in the custombuild dir and downloads it again. Can this be fixed? It is just unnecessary traffic. 7.1.2 is the only version installed with PHP-FPM, latest CB version.:)
 
@wattie, do you also use files6 as Erulezz does? Just a guess that there is some problem with the package at files6 that causes DirectAdmin to re-download to get the "complete" package? Reason I am guessing this, is because there has been many reports about other problems with files6 - so maybe try a different mirror, if it solves it, I would say better stay away from files6 for good. :)
 
Good to know that it's not the mirror that's causing this issue. It happened again this morning during the cronjob (last modified date);

2017-03-13 06:16:42.481484109 +0100

I'll send in a bug report.
 
Back
Top