Re: SOLUCIÓN:Re: [PHP-ES] Re: Problema al insertar muchos registros enMySQLsimultáneamente
| From: | margehair . terra . es | Date: | Wed, 03 Apr 2002 02:50:13 +0000 |
| Subject: | Re: SOLUCIÓN:Re: [PHP-ES] Re: Problema al insertar muchos registros enMySQLsimultáneamente | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-21060@lists.php.net to get a copy of this message | ||
César,
No había visto tu mensaje. Tu solucion me parece fabulosa.
Gracias!
Marga
I am a Palestinian
Vas escriure:
> 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
>
> ---------------------------------------------------------------------
> 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
>
>