In PHP, call a function to return a large array, get ERR_CONNECTION_RESET

currently in php, I am calling a function that returns a large array (about 3500 * float), I got ERR_CONNECTION_RESET error. (this is localhost environment)

I checked the log file, it shows:

[Wed Apr 29 08:10:24.250904 2015] [ssl:warn] [pid 2920:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Apr 29 08:10:24.391529 2015] [ssl:warn] [pid 2920:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Apr 29 08:10:24.422779 2015] [mpm_winnt:notice] [pid 2920:tid 260] AH00354: Child: Starting 150 worker threads.

      

I also tested ports 443 and 80 which are not used by others. if i change this function to return a smaller array this error goes away. Any hints are appreciated.

+3


source to share


1 answer


You have to resize memory

In your php.ini file if you are sure the problem is memory size but the problem does not appear in memi format



Please write your array and page code to help you! to find allow_memori_size=

0


source







All Articles