Please - compile me new pdo PDO_4D : Im new to all this so please keep that in mind.
Short story; We have 32 client databases, some are big, with millions of records (V.11. Currently, hosted and build on Mac's). I have build a website on windows 2012 64x server and included last version of PDO. with Php version that was stated (xamp 2.5 with PHP/5.3.8 ). Plugin and apache are 32x.
My web page connects to all 32 clients on 4d sql servers and runs few sql select quarries. The problems I'm encountering are almost impossible to describe. On some search terms it sometimes works and sometimes not. What I men, if i search for "jone doe" it does give me results, and if i change one latter it doesn't, sql connect handler on client stays hanging and web page goes to timeout. Note that there is no pattern. Some searches are hanging on one client. some on 2 or 3. Different search is same, but different clients. Only one Search for specific number of 13 characters is passing all clients and it's working perfectly. Let me also say I'm targeting specific tables and columns so I'm sure my sgl quarry is not a problem, i have few search boxes and they are all single search no OR or AND sql, also I'm selecting about 4-6 columns to display results for that one select query. Also its all on private network at work. So connections are not the problem also. I will add that results can be from 0 - 50 maximum per one connection. Here is striped down sample of code;

connections are defined up, this is rest of the code...

    function trazi($dbaza) { 
        global $db; global $db2; global $db3; global $db4; global $db5; global $db6; global $db7;  
    global $db8; global $db9; global $db10; global $db11;   global $db12; global $db13; global  
    $db14; global $db15; global $db16; global $db17; global $db18; global $db19; global $db20;  
    global $db21; global $db22; global $db23; global $db24; global $db25; global $db26; global $db27; 
     global $db28; global $db29; global $db30; global $db31; global $db32;  
        global $inime; global $inoib; global $inbb; global $inbbroj; global $insb; 
    
        $odabrani = $dbaza->prepare('SELECT  STANJE, SUD_BROJ_O, SUD_BROJ_P, SUD_BROJ_JBR , NAZIV_LONG, OIB FROM PREDMETI WHERE SUD_BROJ_O = ? '); 
        $params = array($insb); 
        $odabrani->execute($params); 
        $rezultat = $odabrani->fetchAll(PDO::FETCH_ASSOC); 
    unset($dbaza); 
    unset($odabrani); 
    
    if ($rezultat) { 
    
    
                <th>Ime i prezime</th>  
                <th>OIB</th> 
                <th>Bilježnički broj</th> 
                <th>Sudski parnički broj</th> 
                <th>Sudski ovršni broj</th> 
                <th>Stanje predmeta</th>';
    
        foreach($rezultat as $row) {
                echo "<tr>
                <td>".$row['NAZIV_LONG']. "</td>".
                "<td>".$row['OIB']."</td>".
                "<td>".$row['SUD_BROJ_JBR']."</td>".
                "<td>".$row['SUD_BROJ_P']."</td>".
                "<td>".$row['SUD_BROJ_O']."</td>".
                "<td>".$row['STANJE']."</td>".
                "</tr>";                
                } 
        echo "</table>"; 
        } else {
            echo "Vaša pretraga nije pronašla niti jedan rezultat.";
            }
    
    }
    
    unset($rezultat);
    
    
    //ATLANTIC
    echo '<br><br><div style="color:#922E19">ATLANTIC</div>';   
    trazi($db);
    ob_implicit_flush(true);
    $buffer = str_repeat(" ", 4096);
    echo $buffer;
    ob_flush(); usleep(300000);
    
    //CEDEVITA
    echo '<br><br><div style="color:#922E19">CEDEVITA</div>';    
    trazi($db2); 
    ob_implicit_flush(true); 
    $buffer = str_repeat(" ", 4096); 
    echo $buffer; 
    ob_flush(); usleep(300000); 
    
    ETC... 

I have spent weeks on this problem until I find this topic. I really hope that this PDO limitations are the problem because on some quarries he selects to much data and breaks.

The problem; I have made changes to 4d pdo source files and changed limitations,  But i can not compile it nether I know how. I don't have a PC, my server is of no use for this topic and I'm on Mac. Can someone please help me compile a dll with this changes. I will attach a zip file with changes made. 

Please help. 
http://forums.4d.fr/4DBB_Main/x_User/18851165/files/18851204.zip

Edit; or can someone compile me this version with bug fixes;
https://github.com/famsf/pecl-pdo-4d

I don't know does it matter but I'm using PHP/5.3.8 32bits