Subject: pkg/19208: Package www/ap2-php4 does not work with several php4 modules
To: None <gnats-bugs@gnats.netbsd.org>
From: None <john@sixgirls.org>
List: netbsd-bugs
Date: 11/29/2002 16:49:08
>Number:         19208
>Category:       pkg
>Synopsis:       www/ap2-php4 will not
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 29 13:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     John Klos
>Release:        NetBSD 1.6_STABLE
>Organization:
Sixgirls Computing Labs
	
>Environment:
	
	
System: NetBSD reva.sixgirls.org 1.6_STABLE NetBSD 1.6_STABLE (REVA-$Revision: 1.606 $) #1: Mon Nov 11 02:32:54 EST 2002 john@reva.sixgirls.org:/usr/src/sys/arch/amiga/compile/REVA amiga
Architecture: m68k
Machine: amiga
>Description:
	
When www/ap2-php4 is installed and one tries to use it with any of  
databases/php4-mysql, devel/php4-session, or devel/php4-pcre, and possibly 
other php modules, Apache will not load the extra php modules into its 
mod_php. Below are some examples of errors:

PHP Warning:  Unable to load dynamic library '/usr/local/lib/php/20020429/mysql.so' - /usr/local/lib/php/20020429/mysql.so: Undefined symbol "core_globals" (reloc type = 1, symnum = 151) in Unknown on line 0
PHP Warning:  gettext: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0
PHP    compiled with module API=20020429, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0
PHP Warning:  Unable to load dynamic library '/usr/local/lib/php/20020429/session.so' - /usr/local/lib/php/20020429/session.so: Undefined symbol "executor_globals" (reloc type = 1, symnum = 182) in Unknown on line 0
PHP Warning:  Unable to load dynamic library '/usr/local/lib/php/20020429/pcre.so' - /usr/local/lib/php/20020429/pcre.so: Undefined symbol "executor_globals" (reloc type = 1, symnum = 105) in Unknown on line 0

>How-To-Repeat:
	
Install www/apache2, install www/ap2-php4, install databases/php4-mysql,
install devel/php4-session, install devel/php4-pcre, and try to get Apache 2's
mod_php to use them.

>Fix:
	
Not known at this time.
>Release-Note:
>Audit-Trail:
>Unformatted:
 load several php modules when Apache starts.