SOLUCIÓN:Re: [PHP-ES] Re: Problema al insertar muchos registros enMySQL simultáneamente

From: Date: Tue, 02 Apr 2002 23:09:59 +0000
Subject: SOLUCIÓN:Re: [PHP-ES] Re: Problema al insertar muchos registros enMySQL simultáneamente
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-21058@lists.php.net to get a copy of this message
La solución ya la mande. No es necesario modificar el php.ini Sólo hay que poner una línea al principio del archivo <? $resultcode = ini_set("max_execution_time", "7200"); ?> Tiempo de ejecución es de 2Hrs. "Luis R. Sales Glez." wrote: > > Hola margehair.terra.es y *: > > En el php.ini hay un parametro nombrado y con valor > > max_execution_time = 30 > > que da el tiempo maximo de ejecucion de un script de PHP. Si la query es > muy grande y se pasa de ese tiempo, se cancela. > > Solucion? Por un numero bien grande alli. No se, 8 horas, por ejemplo: > > max_execution_time = 28800 > > Espero que no tengas una query que involucre tantos registros que tome ese > tiempo ;-) > > Saludos, > > -- > Luis R. Sales Glez. > Database Administrator > Information Systems & Solutions > Sony Latin America Inc. > Mailto: lrsg@intradev.sola.sony.com > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com -- S A L U D O S ! ! ! =) Atte. César F. Ramos Flores Webdeveloper Senior Webmedia, S.A. de C.V. (http://www.webmedia.com.mx) Tel. (0155) 51488460 al 67 ICQ: 119547322

« previous php.general.es (#21058) next »