Re: php_win32service.dll - constants defined multiple times?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

That's a bug. I have just commited a fix. Thsis will be available in the
next build.

- Frank

> Using php 5.1.2 with the php_win32service.dll extension(downloaded for 
> 5.1.2). The only line I've added to php.ini is as follows:
> 
> extension = php_win32service.dll
> 
> Now, each and every file that I run through php.exe (even a blank file),

> generates
> a series of notices regarding double-defined constants:
> 
> PHP Notice: Constant WIN32_SERVICE_STOPPED already defined in
> Unknown on line 0
> PHP Notice: Constant WIN32_SERVICE_STOP_PENDING already defined in
> Unknown on line 0
> PHP Notice: Constant WIN32_SERVICE_RUNNING already defined in
> Unknown on line 0
> 
> Setting error_reporting(0) in the php file does nothing, the notices are

> still printed
> to the terminal -- I assume because the constants are set internally
before 
> processing of the php file begins. The only solution I've found to this
is 
> to remove E_NOTICE from the list of errors reported in php.ini.
> 
> Bug? 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux