rebuilding php with imap extension fails due to no version number

bokkepoot

Verified User
Joined
Jul 9, 2018
Messages
10
Using
Latest version of DirectAdmin: 1.654 build dac6a57c322856e1da105f4fe294e1b95500e8a4


I'm trying to (re)build my php's, but for some reason it thinks there is no imap version (which obviously should be 2007f)
root@net:/usr/local/directadmin/custombuild# ./build versions | grep IMAP
Latest version of IMAP PHP 8.1 extension:
Installed version of IMAP PHP 8.1 extension: 2007f
IMAP PHP 8.1 extension 2007f to update is available.
Latest version of IMAP PHP 8.0 extension:
Installed version of IMAP PHP 8.0 extension: 2007f
IMAP PHP 8.0 extension 2007f to update is available.
Latest version of IMAP PHP 8.2 extension:
Installed version of IMAP PHP 8.2 extension: 2007f
IMAP PHP 8.2 extension 2007f to update is available.
Latest version of IMAP PHP 7.4 extension:
Installed version of IMAP PHP 7.4 extension: 2007f
IMAP PHP 7.4 extension 2007f to update is available.
As a result it tries to download the file without version number :
safe_download: downloading 'https://files.directadmin.com/services/all/imap/imap-.tar.gz' to '/usr/local/directadmin/custombuild/tmp/tmp.8SwqBDGqGc.safe_download' failed (1/3)
which obviously fails.

I do have the (correct) version number in my versions.txt :
root@net:/usr/local/directadmin/custombuild# grep imap versions.txt
imap:2007f:
imapsync:2.229:

Even if I override the version in custom_versions.txt it will -still- try and get the empty one.

So where does this empty version come from ?
 
Correction, it is not the building of the PHP itself, but it is the imap extension that is failing (due to it not being able to download etc.)
 
I have solved this by going from the current to the stable version, which took me from DA 1.654 to 1.653

 
Back
Top