[PHP-DEV] PHP 4.0 Bug #9501: variable sapi_module defined multiple places From: amra <email protected>
Date: 02/28/01

From: amra <email protected>
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

-- 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>