PHP 4.0 Bug #9501: variable sapi_module defined multiple places
| From: | amra at us dot ibm dot com | Date: | Wed, 28 Feb 2001 21:12:17 +0000 |
| Subject: | PHP 4.0 Bug #9501: variable sapi_module defined multiple places | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47683@lists.php.net to get a copy of this message | ||
From: amra@us.ibm.com
Operating system: OS400
PHP version: 4.0.4pl1
PHP Bug Type: Compile Problem
Bug description: variable sapi_module defined multiple places
I am attempting to create PHP CGI. What I cannot understand is how one is suppose to create PHP
when sapi_module is defined multiple places. In my case, sapi_module is defined in main/SAPI.c and
sapi/cgi/cgi_main.c. When I try to create the program, I get
"Definition supplied multiple times for symbol 'sapi_module'"
It would be nice of the truly global sapi_module (in SAPI.c) was renamed. Or a rule ensuring that
sapi_module in othre places, in which it is truely private, should not be named sapi_module.
Something to think about.
--
Edit Bug report at: http://bugs.php.net/?id=9501&edit=1