getphpfastcgi in sites/ajax_get_json.php does not honor client_id
a client can use all configured additional php versions for a specific server in his website settings. Even if the additional PHP versions are restricted to specific clients.
At some point(Line 73 in my original file) in sites/ajax_get_json.php it says: $php_records = $app->db->queryAllRecords("SELECT * FROM server_php WHERE php_fastcgi_binary != '' AND php_fastcgi_ini_dir != '' AND server_id = $server_id"); (same behavior for $php_type == 'php-fpm)
This statement selects all additional php versions for the selected webserver and does not make use of field client_id in server_php table.
If there are more than one additional php versions with the same name, the last entry in the table will be used.