Re: Timeout

From: Date: Mon, 14 Oct 2002 17:09:56 +0000
Subject: Re: Timeout
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16372@lists.php.net to get a copy of this message
"Arthur Chevalier" <arthurc@scn.spawar.navy.mil> schreef in bericht news:E0C498CF6C3BD511A87C0001026F765D051B9662@s234x104.scn.spawar.navy.mil.. . > Hi all, > > I am experiencing a timeout issue when trying to connect/query to one of our > Sybase Databases. I have no problems connecting/querying to all of my other > databases. Does anyone know the parameters either in the php.ini or in the > apache httpd.conf file that I can update to eliminate this timeout issue? > > Thanks in advance, > > Art Art, You can set this in php.ini (timeout=..) by default 30sec, but in this case you only need it one time. In that case you can put the time-out in the begin of a script that you want to give a longer time to excecute with set_time_limit(180). 180 is the seconds you allow this script to run. Good luck, Rémy

« previous php.windows (#16372) next »