JustinK101 Posted January 29, 2007 Share Posted January 29, 2007 Hello I have a script which has two huge arrays defined. Each array has approx 10,000 elements in it. I have uploaded the file and when I try and execute the file I am getting file not found. That is not true though, because the file exists. Is there some sort of max amount of elements you can have in an array? Thansk for the help. Link to comment https://forums.phpfreaks.com/topic/36207-two-huge-arrays-i-am-getting-file-not-found/ Share on other sites More sharing options...
linuxdream Posted January 29, 2007 Share Posted January 29, 2007 What does the array have to do with the file? Does the array have the file contents (guessing not since PHP can't find the file)? Or does the array have file names? Some code might also help. What's in the uploaded file? Link to comment https://forums.phpfreaks.com/topic/36207-two-huge-arrays-i-am-getting-file-not-found/#findComment-172022 Share on other sites More sharing options...
JustinK101 Posted January 29, 2007 Author Share Posted January 29, 2007 Found the problem, I needed to increase the total allocated memory to PHP to 100MB in the php.ini file. Dang, 100MB is a lot just for two arrays. Link to comment https://forums.phpfreaks.com/topic/36207-two-huge-arrays-i-am-getting-file-not-found/#findComment-172084 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.