Re: ISAPI vs CGI and loading extension

From: Date: Wed, 29 Nov 2000 20:05:08 +0000
Subject: Re: ISAPI vs CGI and loading extension
Groups: php.dev 
Request: Send a blank email to php-dev+get-39622@lists.php.net to get a copy of this message
Thanks, I should have seen that. I'll continue to figure out why the ini settings is set correct in CGI and not in ISAPI. - Frank > > >"Frank M. Kromann" wrote: >> >> Hi Andi, >> >> This is what I would expect, but my debuging code (I write a single line to a debug file >> each time MINIT is called) produces 3 lines on a single CGI request. I only run PHP.EXE once and the >> script is only printing phpinfo(). > >The two logos are also requests. > > >Derick > >> >> I'll try the same with other extensions. The reson for trying this in the first place >> was to find out why php.ini settings is registered correct in CGI and not in ISAPI mode. >> >> - Frank >> >> >In ISAPI MINIT is only called once per IIS server (not per ISAPI thread). >> >In CGI MINIT is also only called once per CGI binary instance but each time >> >you access the server php.exe is run again and again so the three MINIT's >> >you see must be three CGI executions. >> > >> >Andi >> > >> >At 12:55 PM 11/29/00 -0600, Frank M. Kromann wrote: >> >>Hi, >> >> >> >>We have a few bugs regarding the ISAPI version not reading the php.ini >> >>file. I have checked this with the mssql_module. If I load the module from >> >>php.ini and write to a log file each time mssql_minit is called I get >> >>three calls when running CGI and one call when running ISAPI. >> >> >> >>I have also looked at the ini settings for the build in ODBC module. These >> >>are not read on startup in both CGI and ISAPI. >> >> >> >>Using the dl() command (CGI only) i only get one call to the minit >> >>function and the ini file is read corect. >> >> >> >>Can anyone explain whay this is happening ? >> >> >> >>- Frank >> >> >> >> >> >> >> >> >> >>-- >> >>PHP Development Mailing List >> >><http://www.php.net/> >> >>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >> >>For additional commands, e-mail: php-dev-help@lists.php.net >> >>To contact the list administrators, e-mail: php-list-admin@lists.php.net >> > >> >--- >> >Andi Gutmans <andi@zend.com> >> >http://www.zend.com/ >> > >> >-- >> >PHP Development Mailing List >> ><http://www.php.net/> >> >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >> >For additional commands, e-mail: php-dev-help@lists.php.net >> >To contact the list administrators, e-mail: php-list-admin@lists.php.net >> > >> > >> > >> >> -- >> PHP Development Mailing List <http://www.php.net/> >> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >> For additional commands, e-mail: php-dev-help@lists.php.net >> To contact the list administrators, e-mail: php-list-admin@lists.php.net > >-- >Derick Rethans > >--------------------------------------------------------------------- > PHP: Scripting the Web - www.php.net - derick@php.net >--------------------------------------------------------------------- > JDI Media Solutions - www.jdimedia.nl - d.rethans@jdimedia.nl > H.v. Tussenbroekstraat 1 - 6952 BL Dieren - The Netherlands >--------------------------------------------------------------------- > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >For additional commands, e-mail: php-dev-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.dev (#39622) next »