Hi guys, I have a problem driving me crazy. I have to show (JSON) 1 mln of records using web services. Server procedure is:
functiongetCiaos(){$mysqli=newmysqli("localhost","yyy","xxx","master");$uresult=$mysqli->query("SELECT id, data FROM ciao",MYSQLI_USE_RESULT);$arr=array();if($uresult){while($row=$uresult->fetch_array(MYSQLI_ASSOC)){$arr[$row['id']]=$row;}}$uresult->close();$mysqli->close();return$arr;}
Hi guys, I have a problem driving me crazy. I have to show (JSON) 1 mln of records using web services. Server procedure is:
Client side is:
Always php client show Internal error and Apache log show me:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
Do you know a way to show these large datas without increase php_ini setting?
Thank a lot!