gpt4 book ai didi

php - 在 PHP 中调用函数返回大数组,得到 ERR_CONNECTION_RESET

转载 作者:搜寻专家 更新时间:2023-10-31 22:00:31 27 4
gpt4 key购买 nike

目前在 php 中,我调用了一个返回大数组(大约 3500*float)的函数,我得到了错误 ERR_CONNECTION_RESET。 (是localhost环境)

我检查了日志文件,它显示:

[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.

我还检查了其他人未使用的端口 443 和 80。如果我更改该函数以返回较小的数组,则此错误将消失。任何提示表示赞赏。

最佳答案

你应该改变允许内存大小

在你的 php.ini 文件中,如果你确定问题是关于 memori size 但问题看起来不是 memori size

请编写您的数组和页面代码来帮助您!寻找allow_memori_size=

关于php - 在 PHP 中调用函数返回大数组,得到 ERR_CONNECTION_RESET,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29943745/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com