Php nginx ubuntu连接超时
我有一个4200行的csv文件。我必须阅读此文件并使用两个api来获取相关数据。每次连接超时时,我的问题都在这里。我在nginx中使用php-mysql。我使用google for solution,在php.ini和www.conf以及sites available/default中更改了超时变量。即使我读了一个有50行的csv文件,我仍然会遇到同样的错误Php nginx ubuntu连接超时,php,mysql,csv,ubuntu,nginx,Php,Mysql,Csv,Ubuntu,Nginx,我有一个4200行的csv文件。我必须阅读此文件并使用两个api来获取相关数据。每次连接超时时,我的问题都在这里。我在nginx中使用php-mysql。我使用google for solution,在php.ini和www.conf以及sites available/default中更改了超时变量。即使我读了一个有50行的csv文件,我仍然会遇到同样的错误 My OS is Ubuntu 14.04 32-bit. Is there any other solution a part from
My OS is Ubuntu 14.04 32-bit. Is there any other solution a part from the above?
在您的代码ini_集合中尝试此命令('max_execution_time','2400');我已经在我的代码中给出了如下内容:ini\u set('max\u execution\u time',0);请将执行时间0增加到2400,并将trycheck ini设置、分配给脚本的最大内存、脚本timeout@Pruthviraj:'2400'我们需要用引号还是不带引号来表示它也有效?