Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php nginx ubuntu连接超时_Php_Mysql_Csv_Ubuntu_Nginx - Fatal编程技术网

Php nginx ubuntu连接超时

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

我有一个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 the above?

在您的代码ini_集合中尝试此命令('max_execution_time','2400');我已经在我的代码中给出了如下内容:ini\u set('max\u execution\u time',0);请将执行时间0增加到2400,并将trycheck ini设置、分配给脚本的最大内存、脚本timeout@Pruthviraj:'2400'我们需要用引号还是不带引号来表示它也有效?