bouvrie

Active Member
Apr 6, 2012
38
6
58
cPanel Access Level
Root Administrator
On my server (CENTOS 7.2 x86_64 kvm – WHM 60.0 build 26), MultiPHP manager interface is rather buggy, indeterminately reporting that sites run or don't PHP-FPM handler inbetween JSON api requests. See the video below, in which I keep typing the 2 domain names that match my filter, and observe how the PHP-FPM status changes randomly:

youtube.com/watch?v=_wLDGtneE-I

I sniffed the JSON script it requests & it seems like it returns the proper values, so I suspect the issue lies in a javascript processing the data. This happens regardless of webbrowser used (Chrome in the video).

Going a bit offtopic, this bug occurring after the development hell that PHP-FPM support has undergone (finally it was there as a major feature in Release 60), makes me wonder about the cPanel's quality control. If something as simple as this interface manages to display serious misinformation, I fear for other interfaces... I find that I'm micro-managing my servers too much, while I believe cPanel/WHM should make management easier.
 
Last edited by a moderator:

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Hello,

I believe the bug you are reporting is fixed by HB-2022, which is merged into cPanel & WHM version 62. It stems from the way data is being transformed into JSON. Numeric, and boolean, data is sometimes being represented as a string instead of a number. That results in the "sometimes FPM is enabled, sometimes it isn't" behavior you are observing.
 

bouvrie

Active Member
Apr 6, 2012
38
6
58
cPanel Access Level
Root Administrator
Ah, good. Had to sift through my server looking for sites that were broken due to the interface misrepresenting the handler value. Quite annoying!