Posts

Showing posts with the label xampp

The program can’t start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this issue

Image
Clash Royale CLAN TAG #URR8PPP The program can’t start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this issue hello im trying to run appache server from xampp on windows 8.1. but it doesnt run because of this. to solve this problem i updated windows and then i tried to install VC++ 2015(x64) but it doesnt install too for the same reason(the dll file doesnt exiSt). now i need you to help me. thanks. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

mysqli_query single query gerenating PHP fatal error: Allowed memory size exhausted

Image
Clash Royale CLAN TAG #URR8PPP mysqli_query single query gerenating PHP fatal error: Allowed memory size exhausted I have a Mysql table (named "base") with 3 million records , which is composed of only 3 int(10) fields . When I try to run this simple query $result = mysqli_query($db, 'SELECT * FROM base') , php shows the error: $result = mysqli_query($db, 'SELECT * FROM base') PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10485768 bytes) in C:xampphtdocscombina.php on line 17 PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10485768 bytes) in C:xampphtdocscombina.php on line 17 I think mysqli_query should not load all the table records into memory, right? So why the memory overflow? I'm using XAMPP installation on Windows 10, PHP 7.2. Here is the code: $servername = "localhost"; $ult_elemsername = "root"; $password = ""; $dbname = "comb"; $d...