BUG alert, in whmreq/accounting w/ new PHP

tkoweb

Active Member
Dec 26, 2002
44
0
156
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?
 

laundryp

Member
Apr 21, 2003
13
0
151
accounting

Btw, just so whoever is reading is clear...this has to do with the Accounting include script for the remote access.