In the whmreq function, the code to read in from a socket when CURL is not present fails because in the new PHP, the default socket_read type is set to BINARY while the barely older version of PHP defaulted to NORMAL. This means, it was reading in the max it could before seeing if it was what it wanted, so it discarded the whole result even though it was working.
Also, why is curl installed but not configured properly in the default cpanel installation?
Also, why is curl installed but not configured properly in the default cpanel installation?