RE: [PHP-DEV] ini question
| From: | Rasmus Lerdorf | Date: | Fri, 20 Sep 2002 00:20:37 +0000 |
| Subject: | RE: [PHP-DEV] ini question | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88489@lists.php.net to get a copy of this message | ||
Apache calls the module startup hook twice.
On Thu, 19 Sep 2002, David Viner wrote:
> After some further tweaking and fprintf-ing, it appears that the second
> round of parser print-outs somehow do not rely upon the lexer in
> zend_ini_scanner.l. So I am completely unsure of what is going on.
>
> Is there any documentation that I should read to help me understand this?
> (I own and have examined the OReilly Writing Apache Modules book (in case
> this was the child processes each parsing the ini file on their own) but to
> no avail.) Is there Zend documentation of the startup process?
>
> dave
>
>
> -----Original Message-----
> From: David Viner [mailto:dviner@yahoo-inc.com]
> Sent: Wednesday, September 18, 2002 3:45 PM
> To: Php-Dev@lists. php. net
> Subject: [PHP-DEV] ini question
>
>
> Hi,
> I turned on DEBUG_CFG_PARSER in Zend/zend_ini_parser.y which has the parser
> spit out each key-value pair it discovers. I noticed when I start my
> Apache, it actually spits everything out twice. The first time I know comes
> from php_module_startup (called from php_apache_startup which is the init
> handler in sapi/apache/mod_php4.c). What causes the parser to spit out all
> the key-value pairs the second time?
>
>
> dave
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>