You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/20 17:04:31 UTC

DO NOT REPLY [Bug 28503] New: - LoadModule Probleme...with php...

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28503>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28503

LoadModule Probleme...with php...

           Summary: LoadModule Probleme...with php...
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mathieu.carbonneaux@ch2o.info


Have also open bug on PHP bugtrack system...but i'm not sure how the probleme
can be resolved.. 

only in php or in php and apache... 

seem to be a hp-ux related probleme with Dynamics loading library...


Probleme Description:

have compile apache2 with dso support, and i tested it separatly...it's ok! work
fin with apache included dso!

after, i've compiled php with apxs2 support, without probleme... 

The php module has been correctly installed in apache modules directory and
the apache conf have been correctly modify by the php installer...

but... when i try to start apache with php module, 
they can't load php module...

when i verify with ldd -d why the module don't load, i've this result:
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/lib/libdld.2 =>    /usr/lib/libdld.2
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/lib/libintl.sl =>    /usr/local/lib/libintl.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/lib/libiconv.sl =>   /usr/local/lib/libiconv.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/lib/libxml2.sl =>    /usr/local/lib/libxml2.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/lib/libintl.sl =>    /usr/local/lib/libintl.sl
        /usr/lib/libm.2 =>      /usr/lib/libm.2
        /usr/local/lib/libz.sl =>       /usr/local/lib/libz.sl
        /usr/lib/libpthread.1 =>        /usr/lib/libpthread.1
        /usr/lib/libm.2 =>      /usr/lib/libm.2
        /usr/local/lib/libbz2.sl =>     /usr/local/lib/libbz2.sl
        /usr/local/lib/libdb.sl =>      /usr/local/lib/libdb.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/lib/libxslt.sl =>    /usr/local/lib/libxslt.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/lib/libm.2 =>      /usr/lib/libm.2
        /usr/local/lib/libintl.sl =>    /usr/local/lib/libintl.sl
        /usr/lib/libpthread.1 =>        /usr/lib/libpthread.1
        /usr/local/lib/libz.sl =>       /usr/local/lib/libz.sl
        /usr/local/lib/libxml2.sl =>    /usr/local/lib/libxml2.sl
        /usr/local/lib/libxsltbreakpoint.sl =>  /usr/local/lib/libxsltbreakpoint.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/lib/libjpeg.sl =>    /usr/local/lib/libjpeg.sl
        /usr/local/lib/libz.sl =>       /usr/local/lib/libz.sl
        /usr/local/lib/libpng.sl =>     /usr/local/lib/libpng.sl
        /usr/local/lib/X11/libXpm.sl => /usr/local/lib/X11/libXpm.sl
        /usr/lib/libX11.3 =>    /usr/lib/libX11.3
        /usr/local/lib/libt1.sl =>      /usr/local/lib/libt1.sl
        /usr/local/lib/libgd.sl =>      /usr/local/lib/libgd.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/lib/libiconv.sl =>   /usr/local/lib/libiconv.sl
        /usr/lib/libm.2 =>      /usr/lib/libm.2
        /usr/local/lib/libz.sl =>       /usr/local/lib/libz.sl
        /usr/local/lib/libpng.sl =>     /usr/local/lib/libpng.sl
        /usr/local/lib/libfreetype.sl =>        /usr/local/lib/libfreetype.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/lib/libjpeg.sl =>    /usr/local/lib/libjpeg.sl
        /usr/lib/libX11.3 =>    /usr/lib/libX11.3
        /usr/local/lib/X11/libXpm.sl => /usr/local/lib/libXpm.sl
        /usr/lib/libdld.2 =>    /usr/lib/libdld.2
        /usr/lib/libpthread.1 =>        /usr/lib/libpthread.1
        /usr/local/lib/libexpat.sl =>   /usr/local/lib/libexpat.sl
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/apache2/lib/libaprutil-0.sl.9 =>    
/usr/local/apache2/lib/libaprutil-0.sl.9
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/local/apache2/lib/libapr-0.sl.9 => /usr/local/apache2/lib/libapr-0.sl.9
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/lib/libdld.2 =>    /usr/lib/libdld.2
        /usr/lib/libpthread.1 =>        /usr/lib/libpthread.1
        /usr/lib/libnsl.1 =>    /usr/lib/libnsl.1
        /usr/lib/libxti.2 =>    /usr/lib/libxti.2
        /usr/lib/libm.2 =>      /usr/lib/libm.2
        /usr/lib/libcl.2 =>     /usr/lib/libcl.2
        /usr/lib/libisamstub.1 =>       /usr/lib/libisamstub.1
        /usr/lib/libdld.2 =>    /usr/lib/libdld.2
        symbol not found: _SYSTEM_ID    (/usr/lib/libc.2)
        symbol not found: _end  (/usr/lib/libc.2)
        symbol not found: __dld_loc     (/usr/lib/libdld.2)
        symbol not found: ap_loaded_modules    
(/usr/local/apache2/modules/libphp4.so)
        symbol not found: unixd_config  (/usr/local/apache2/modules/libphp4.so)
        symbol not found: ap_server_root       
(/usr/local/apache2/modules/libphp4.so)
        symbol not found: _SYSTEM_ID    (/usr/lib/libcl.2)
        symbol not found: __dld_loc     (/usr/lib/libcl.2)

some symbole seem to not be resolved....

have searched for this symbole....

and i have found some of this symbol in httpd binary

#nm httpd | grep ap_server_root
ap_hack_ap_server_root_relative|1073780904|extern|data   |$DATA$
ap_server_root      |1073757188|extern|data   |$DATA$
ap_server_root_relative|    303164|extern|entry  |
ap_server_root_relative|    303216|extern|code   |$CODE$

#nm httpd | grep ap_loaded_modules
ap_loaded_modules   |1073757324|extern|data   |$DATA$

this global export seem to be correctly exported by httpd....

but unixd_config is undef...!!??? i'm not sure wat correct... but apache work
fine without libphp4.so...!!!

#nm httpd | grep unixd_config
unixd_config        |1073807808|undef |common |$BSS$

i've found the other symbol in hp-ux library....

but i've seen before similare probleme with "mod_auth_ldap" module from musquit, 
but only _SYSTEM_ID, _end and __dld_loc symbol i've not been resolved...
for this i've found on hp-ux support site how to correct the probleme, 
in using "export LD_PRELOAD=/usr/bin/libcl.sl" or in adding CFLAGS="-lcl" before
compiling apache...

but with php this trick don't work....

i think is globale visibility probleme between httpd binary and (libphp4.so)
loaded librairy...

i think that dyn lib can't access to global export of the binary who have loaded
the library...

have you any idea to correct this!!!!?

how to remplace the use of apache global whith apr like fonction???!!!

have tried to upgrade to libtool v1.5 but without amelioration...

Best Regards,
Mathieu

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org