Re: [PHP-DEV] ISAPI vs CGI and loading extension From: Frank M. Kromann (fmk <email protected>)
Date: 11/29/00

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().

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 <email protected>
>>For additional commands, e-mail: php-dev-help <email protected>
>>To contact the list administrators, e-mail: php-list-admin <email protected>
>
>---
>Andi Gutmans <andi <email protected>>
>http://www.zend.com/
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>