php_win32service.dll - constants defined multiple times?

From: Date: Fri, 17 Feb 2006 20:07:15 +0000
Subject: php_win32service.dll - constants defined multiple times?
Groups: php.windows 
Request: Send a blank email to php-windows+get-26712@lists.php.net to get a copy of this message
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?

« previous php.windows (#26712) next »