ID:               22273
 User updated by:  germano60 at yahoo dot it
 Reported By:      germano60 at yahoo dot it
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache2 related
 Operating System: HP-UX 11.00
 PHP Version:      4.3.0
 New Comment:

I tried but yet nope.

I got this additional message during "make", at linking phase:

*** Warning: linker path does not have real file for library -lgcc.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgcc and none of the candidates passed a file format test
*** using a file magic. Last file checked:
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/libgcc.a

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

Additionally, "make install" returned the following message (I added
the #### to highlight a possible critical point):
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PHP SAPI module
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/opt/php4-STABLE-200302190830/libs'
#### Warning!  dlname not found in 
 /usr/local/apache2/modules/libphp4.la.
#### Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
[activating module `php4' in /usr/local/apache2/conf/httpd.conf]
Installing shared extensions: 
[ ... I skip this, everything regular ... ]


Previous Comments:
------------------------------------------------------------------------

[2003-02-23 05:34:53] [EMAIL PROTECTED]

Can you try adding this to your configure line:

--enable-libgcc



------------------------------------------------------------------------

[2003-02-20 07:40:20] germano60 at yahoo dot it

I confirm you that:
- httpd.conf is working fine without the directive 
LoadModule php4_module etc.
- Apache2 has always be set to work with
User www
Group other
(with Group nobody, in HP-UX11 Apache simply does not work)

Thanks for the "bt full" hint, yesterday it was the firs time I used
gdb, so please forgive my newbie behaviour :)

I tried again with httpd -X, putting some breakpoints around the
critical points, i.e.:
- when the load_module() method is invoked to check the input values
- when the apr_dso_load() method is invoked to check the input values
- after the apr_dso_load() method is finished and the apr_pstrcat()
method is invoked to generate the output string, to check the return
conditions

The source code is available in Apache2 distribution inside  
modules/mappers/mod_so.c

Here is what "bt full" returned after each step (sorry, once again it's
long):

Code section under test
 /usr/local/httpd-2.0.44/modules/mappers/mod_so.c
 function load_module()

(gdb) break mod_so.c:213
Breakpoint 2 at 0x5f908: file mod_so.c, line 213.
// BREAK on invoke of load_module

(gdb) break mod_so.c:282
Breakpoint 3 at 0x5f9ec: file mod_so.c, line 282.
// BREAK on invoke check for errors in loading the module

(gdb) break mod_so.c:285
Breakpoint 4 at 0x5fa10: file mod_so.c, line 285.
// BREAK on invoke generation of the error string for display

(gdb) enable
(gdb) run -X
Starting program: /usr/local/apache2/bin/httpd -X

Breakpoint 2, load_module (cmd=0x7f7f1340, dummy=0x7f7f3640, \
                    modname=0x40069010 "php4_module", \
                    filename=0x40069020 "modules/libphp4.so") at mod_so.c:213
213         *(ap_directive_t **)dummy = NULL;
(gdb) bt full
#0  load_module (cmd=0x7f7f1340, dummy=0x7f7f3640, \
                  modname=0x40069010 "php4_module", \
                  filename=0x40069020 "modules/libphp4.so") at mod_so.c:213
        modhandle = (apr_dso_handle_t *) 0x6c08000
        modsym = 0x7f7f3584
        modp = (module *) 0x7f7f3640
        szModuleFile = 0x7f7f3580 "@\006\217\220"
        sconf = (so_server_conf *) 0x7f7f3640
        modi = (moduleinfo *) 0x40069020
        modie = (moduleinfo *) 0x40069038
        i = 1074171936
        modhandle = (apr_dso_handle_t *) 0x6c08000
        modsym = 0x7f7f3584
#1  0x00064c5c in invoke_cmd (cmd=0x40008cd4, parms=0x7f7f1340, \
                              mconfig=0x7f7f3640, args=0x7f7f15b0 "")
at config.c:739
        w = 0x40069010 "php4_module"
        w2 = 0x40069020 "modules/libphp4.so"
        w3 = 0x40069038 "/usr/local/apache2/modules/libphp4.so"
        errmsg = 0x40069038 "/usr/local/apache2/modules/libphp4.so"
#2  0x00066348 in execute_now (cmd_line=0x40068fb8 "LoadModule", \
                    args=0x7f7f158b "php4_module       
modules/libphp4.so", \
                    parms=0x7f7f1340, p=0x0, 
    ptemp=0x40063480, sub_tree=0x7f7f3640, parent=0x0) at
config.c:1351
        mod = (module *) 0x40008d1c
        cmd = (const command_rec *) 0x40069038
        mod = (module *) 0x40008d1c
#3  0x00065684 in zif_mysql_select_db () at config.c:942
        sub_tree = (ap_directive_t *) 0x0
        current = (ap_directive_t **) 0x7f7f3580
        curr_parent = (ap_directive_t **) 0x7f7f3584
        conftree = (ap_directive_t **) 0x400098cc
        retval = 0x40069038 "/usr/local/apache2/modules/libphp4.so"
        args = 0x7f7f158b "php4_module        modules/libphp4.so"
        cmd_name = 0x40068fb8 "LoadModule"
        newdir = (ap_directive_t *) 0x40068fc8
        mod = (module *) 0x40008d1c
        cmd = (const command_rec *) 0x40069038
        args = 0x7f7f158b "php4_module        modules/libphp4.so"
        mod = (module *) 0x40008d1c
#4  0x00065c84 in zif_mysql_get_proto_info () at config.c:1149
        current = (ap_directive_t *) 0x40068f90
        curr_parent = (ap_directive_t *) 0x0
        l = "LoadModule php4_module       
modules/libphp4.so\0\0/libphp4.so\0\0ot need\0\0ed.\0\0u", 
        '\0' <repeats 15 times>, 
        "[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@\0Û(@\002\222¯\177j[´\177j\022,\0\002\0\0\177"...
        errmsg = 0x1 <Error reading address 0x1: Invalid argument>
        current = (ap_directive_t *) 0x40068f90
        curr_parent = (ap_directive_t *) 0x0
        l = "LoadModule php4_module       
modules/libphp4.so\0\0/libphp4.so\0\0ot need\0\0ed.\0\0u", '\0'
<repeats 15 times>,
"[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@\0Û(@\002\222¯\177j[´\177j\022,\0\002\0\0\177"...
#5  0x00066a20 in zif_mysql_create_db () at config.c:1563
        ptemp = (apr_pool_t *) 0x40063480
        parms = {info = 0x0, override = 150, limited = -1,
limited_xmethods = 0x0, xlimited = 0x0, config_file = 0x400684b0,
directive = 0x0, 
  pool = 0x400292b0, temp_pool = 0x40063480, server = 0x4002c060, path
= 0x0, cmd = 0x40008cd4, context = 0x0, err_directive = 0x40068fc8}
        finfo = {pool = 0x4005f498, valid = 0, protection = 2135708472,
filetype = 1073885880, user = 1073745920, group = 1073780940, inode =
417963, 
  device = 2135804307, nlink = 1073910448, size = 1073786376, csize =
1073786384, atime = 4612410254066454528, mtime = 4612018939596189378, 
  ctime = 4611868967928112720, fname = 0x4000ae28 "DEBUG", name =
0x400098c8 "@[EMAIL PROTECTED]", filehand = 0x4000ae20}
        errmsg = 0x400668a8 "/usr/local/apache2/conf/httpd.conf"
        cfp = (ap_configfile_t *) 0x400684b0
        ispatt = 0
#6  0x000674e0 in ap_read_config (process=0x4000, ptemp=0x40063480,
filename=0x4000ada4 "conf/httpd.conf", conftree=0x400098cc) at
config.c:1841
        confname = 0x40069038 "/usr/local/apache2/modules/libphp4.so"
        p = (apr_pool_t *) 0x400292b0
        s = (server_rec *) 0x4002c060
#7  0x0006a89c in zif_mysql_fetch_object () at main.c:565
        c = 88 'X'
        configtestonly = 0
        confname = 0x4000ada4 "conf/httpd.conf"
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        process = (process_rec *) 0x40027320
        server_conf = (server_rec *) 0x4000add4
        pglobal = (apr_pool_t *) 0x400272a0
        pconf = (apr_pool_t *) 0x400292b0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        rv = 1074171960
        mod = (module **) 0x4000add4
        optarg = 0x0
        signal_server = (apr_OFN_ap_signal_server_t *) 0x40069038
<php_gd_char+160640>
        c = 88 'X'
        configtestonly = 0
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        pglobal = (apr_pool_t *) 0x400272a0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        optarg = 0x0
        c = 88 'X'
        configtestonly = 0
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        pglobal = (apr_pool_t *) 0x400272a0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        optarg = 0x0
#8  0x7f6efbe4 in _start () from /usr/lib/libc.2
No symbol table info available.
(gdb) continue
Continuing.

Breakpoint 3, load_module (cmd=0x7f7f1340, dummy=0x4,
modname=0x40069010 "php4_module", 
                           filename=0x15 <Error reading address 0x15:
Bad address>) at mod_so.c:282
282         if (apr_dso_load(&modhandle, szModuleFile, cmd->pool) !=
APR_SUCCESS) {
(gdb) bt full
#0  load_module (cmd=0x7f7f1340, dummy=0x4, modname=0x40069010
"php4_module", 
        filename=0x15 <Error reading address 0x15: Bad address>) at
mod_so.c:282
        modhandle = (apr_dso_handle_t *) 0x6c08000
        modsym = 0x7f7f3584
        modp = (module *) 0x4
        szModuleFile = 0x40069038
"/usr/local/apache2/modules/libphp4.so"
        sconf = (so_server_conf *) 0x4002c2b8
        modi = (moduleinfo *) 0x15
        modie = (moduleinfo *) 0x40013c58
        i = 21
        modhandle = (apr_dso_handle_t *) 0x6c08000
        modsym = 0x7f7f3584
#1  0x00064c5c in invoke_cmd (cmd=0x40008cd4, parms=0x7f7f1340,
mconfig=0x7f7f3640, args=0x7f7f15b0 "") at config.c:739
        w = 0x40069010 "php4_module"
        w2 = 0x40069020 "modules/libphp4.so"
        w3 = 0x4002c2d8 ""
        errmsg = 0x4002c2d8 ""
#2  0x00066348 in execute_now (cmd_line=0x40068fb8 "LoadModule", 
    args=0x7f7f158b "php4_module        modules/libphp4.so",
parms=0x7f7f1340, p=0x0, 
    ptemp=0x40063480, sub_tree=0x7f7f3640, parent=0x0) at
config.c:1351
        mod = (module *) 0x40008d1c
        cmd = (const command_rec *) 0x4002c2d8
        mod = (module *) 0x40008d1c
#3  0x00065684 in zif_mysql_select_db () at config.c:942
        sub_tree = (ap_directive_t *) 0x0
        current = (ap_directive_t **) 0x7f7f3580
        curr_parent = (ap_directive_t **) 0x7f7f3584
        conftree = (ap_directive_t **) 0x400098cc
        retval = 0x4002c2d8 ""
        args = 0x7f7f158b "php4_module        modules/libphp4.so"
        cmd_name = 0x40068fb8 "LoadModule"
        newdir = (ap_directive_t *) 0x40068fc8
        mod = (module *) 0x40008d1c
        cmd = (const command_rec *) 0x4002c2d8
        args = 0x7f7f158b "php4_module        modules/libphp4.so"
        mod = (module *) 0x40008d1c
#4  0x00065c84 in zif_mysql_get_proto_info () at config.c:1149
        current = (ap_directive_t *) 0x40068f90
        curr_parent = (ap_directive_t *) 0x0
        l = "LoadModule php4_module       
modules/libphp4.so\0\0/libphp4.so\0\0ot need\0\0ed.\0\0u", '\0'
<repeats 15 times>,
"[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@\0Û(@\002\222¯\177j[´\177j\022,\0\002\0\0\177"...
        errmsg = 0x4 <Error reading address 0x4: Bad address>
        current = (ap_directive_t *) 0x40068f90
        curr_parent = (ap_directive_t *) 0x0
        l = "LoadModule php4_module       
modules/libphp4.so\0\0/libphp4.so\0\0ot need\0\0ed.\0\0u", '\0'
<repeats 15 times>,
"[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@\0Û(@\002\222¯\177j[´\177j\022,\0\002\0\0\177"...
#5  0x00066a20 in zif_mysql_create_db () at config.c:1563
        ptemp = (apr_pool_t *) 0x40063480
        parms = {info = 0x0, override = 150, limited = -1,
limited_xmethods = 0x0, xlimited = 0x0, config_file = 0x400684b0,
directive = 0x0, 
  pool = 0x400292b0, temp_pool = 0x40063480, server = 0x4002c060, path
= 0x0, cmd = 0x40008cd4, context = 0x0, err_directive = 0x40068fc8}
        finfo = {pool = 0x4005f498, valid = 0, protection = 2135708472,
filetype = 1073885880, user = 1073745920, group = 1073780940, inode =
417963, 
  device = 2135804307, nlink = 1073910448, size = 1073786376, csize =
1073786384, atime = 4612410254066454528, mtime = 4612018939596189378, 
  ctime = 4611868967928112720, fname = 0x4000ae28 "DEBUG", name =
0x400098c8 "@[EMAIL PROTECTED]", filehand = 0x4000ae20}
        errmsg = 0x400668a8 "/usr/local/apache2/conf/httpd.conf"
        cfp = (ap_configfile_t *) 0x400684b0
        ispatt = 0
#6  0x000674e0 in ap_read_config (process=0x1, ptemp=0x40063480,
filename=0x4000ada4 "conf/httpd.conf", conftree=0x400098cc) at
config.c:1841
        confname = 0x4002c2d8 ""
        p = (apr_pool_t *) 0x400292b0
        s = (server_rec *) 0x4002c060
#7  0x0006a89c in zif_mysql_fetch_object () at main.c:565
        c = 88 'X'
        configtestonly = 0
        confname = 0x4000ada4 "conf/httpd.conf"
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        process = (process_rec *) 0x40027320
        server_conf = (server_rec *) 0x4000add4
        pglobal = (apr_pool_t *) 0x400272a0
        pconf = (apr_pool_t *) 0x400292b0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        rv = 1073922776
        mod = (module **) 0x4000add4
        optarg = 0x0
        signal_server = (apr_OFN_ap_signal_server_t *) 0x40013c58
<my_file_info+6512>
        c = 88 'X'
        configtestonly = 0
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        pglobal = (apr_pool_t *) 0x400272a0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        optarg = 0x0
        c = 88 'X'
        configtestonly = 0
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        pglobal = (apr_pool_t *) 0x400272a0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        optarg = 0x0
#8  0x7f6efbe4 in _start () from /usr/lib/libc.2
No symbol table info available.
(gdb) continue
Continuing.

Breakpoint 4, load_module (cmd=0x7f7f1340, dummy=0x4,
modname=0x40069010 "php4_module", filename=0x4002c2d8 "@\006\220\020")
at mod_so.c:285
285             return apr_pstrcat(cmd->pool, "Cannot load ",
szModuleFile,
(gdb) bt full
#0  load_module (cmd=0x7f7f1340, dummy=0x4, modname=0x40069010
"php4_module", filename=0x4002c2d8 "@\006\220\020") at mod_so.c:285
        my_error =
"@[EMAIL PROTECTED]@\0ßÒ\177i\207\020of
[EMAIL PROTECTED]@\0\2144\177\1776<@[EMAIL PROTECTED]
\0\0\020\0\0\0\0\030>[EMAIL PROTECTED];",
'\0' <repeats 16 times>,
"@\0\020\0\0\0\002\0\177\177\025¯\177\177\025\236</IfModule>[EMAIL PROTECTED]@[EMAIL 
PROTECTED]>TƼ\0\0\0\0>+èæ\0\0"...
        modhandle = (apr_dso_handle_t *) 0x40069060
        modsym = 0x7f7f3584
        modp = (module *) 0x4
        szModuleFile = 0x40069038
"/usr/local/apache2/modules/libphp4.so"
        sconf = (so_server_conf *) 0x4002c2b8
        modi = (moduleinfo *) 0x4002c2d8
        modie = (moduleinfo *) 0x7f68385c
        i = 1073922776
        modhandle = (apr_dso_handle_t *) 0x40069060
        modsym = 0x7f7f3584
#1  0x00064c5c in invoke_cmd (cmd=0x40008cd4, parms=0x7f7f1340,
mconfig=0x7f7f3640, args=0x7f7f15b0 "") at config.c:739
        w = 0x40069010 "php4_module"
        w2 = 0x40069020 "modules/libphp4.so"
        w3 = 0x4e33
"Y\031\002\215Z\221ö.\203Á\211\031\032¼f\237&\205\fâ\f"
        errmsg = 0x4e33
"Y\031\002\215Z\221ö.\203Á\211\031\032¼f\237&\205\fâ\f"
#2  0x00066348 in execute_now (cmd_line=0x40068fb8 "LoadModule",
args=0x7f7f158b "php4_module        modules/libphp4.so",
parms=0x7f7f1340, p=0x4001b810, 
    ptemp=0x40063480, sub_tree=0x7f7f3640, parent=0x0) at
config.c:1351
        mod = (module *) 0x40008d1c
        cmd = (const command_rec *) 0x4e33
        mod = (module *) 0x40008d1c
#3  0x00065684 in zif_mysql_select_db () at config.c:942
        sub_tree = (ap_directive_t *) 0x0
        current = (ap_directive_t **) 0x7f7f3580
        curr_parent = (ap_directive_t **) 0x7f7f3584
        conftree = (ap_directive_t **) 0x400098cc
        retval = 0x4e33
"Y\031\002\215Z\221ö.\203Á\211\031\032¼f\237&\205\fâ\f"
        args = 0x7f7f158b "php4_module        modules/libphp4.so"
        cmd_name = 0x40068fb8 "LoadModule"
        newdir = (ap_directive_t *) 0x40068fc8
        mod = (module *) 0x40008d1c
        cmd = (const command_rec *) 0x4e33
        args = 0x7f7f158b "php4_module        modules/libphp4.so"
        mod = (module *) 0x40008d1c
#4  0x00065c84 in zif_mysql_get_proto_info () at config.c:1149
        current = (ap_directive_t *) 0x40068f90
        curr_parent = (ap_directive_t *) 0x0
        l = "LoadModule php4_module       
modules/libphp4.so\0\0/libphp4.so\0\0ot need\0\0ed.\0\0u", '\0'
<repeats 15 times>,
"[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@\0Û(@\002\222¯\177j[´\177j\022,\0\002\0\0\177"...
        errmsg = 0x4001b700 "\177gé(\177gé("
        current = (ap_directive_t *) 0x40068f90
        curr_parent = (ap_directive_t *) 0x0
        l = "LoadModule php4_module       
modules/libphp4.so\0\0/libphp4.so\0\0ot need\0\0ed.\0\0u", '\0'
<repeats 15 times>,
"[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@\0Û(@\002\222¯\177j[´\177j\022,\0\002\0\0\177"...
#5  0x00066a20 in zif_mysql_create_db () at config.c:1563
        ptemp = (apr_pool_t *) 0x40063480
        parms = {info = 0x0, override = 150, limited = -1,
limited_xmethods = 0x0, xlimited = 0x0, config_file = 0x400684b0,
directive = 0x0, 
  pool = 0x400292b0, temp_pool = 0x40063480, server = 0x4002c060, path
= 0x0, cmd = 0x40008cd4, context = 0x0, err_directive = 0x40068fc8}
        finfo = {pool = 0x4005f498, valid = 0, protection = 2135708472,
filetype = 1073885880, user = 1073745920, group = 1073780940, inode =
417963, 
  device = 2135804307, nlink = 1073910448, size = 1073786376, csize =
1073786384, atime = 4612410254066454528, mtime = 4612018939596189378, 
  ctime = 4611868967928112720, fname = 0x4000ae28 "DEBUG", name =
0x400098c8 "@[EMAIL PROTECTED]", filehand = 0x4000ae20}
        errmsg = 0x400668a8 "/usr/local/apache2/conf/httpd.conf"
        cfp = (ap_configfile_t *) 0x400684b0
        ispatt = 0
#6  0x000674e0 in ap_read_config (process=0x4e33, ptemp=0x40063480,
filename=0x4000ada4 "conf/httpd.conf", conftree=0x400098cc) at
config.c:1841
        confname = 0x4e33
"Y\031\002\215Z\221ö.\203Á\211\031\032¼f\237&\205\fâ\f"
        p = (apr_pool_t *) 0x400292b0
        s = (server_rec *) 0x4002c060
#7  0x0006a89c in zif_mysql_fetch_object () at main.c:565
        c = 88 'X'
        configtestonly = 0
        confname = 0x4000ada4 "conf/httpd.conf"
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        process = (process_rec *) 0x40027320
        server_conf = (server_rec *) 0x4000add4
        pglobal = (apr_pool_t *) 0x400272a0
        pconf = (apr_pool_t *) 0x400292b0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        rv = 20019
        mod = (module **) 0x4000add4
        optarg = 0x0
        signal_server = (apr_OFN_ap_signal_server_t *) 0x7f68385c
<__pth_thread_main>
        c = 88 'X'
        configtestonly = 0
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        pglobal = (apr_pool_t *) 0x400272a0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        optarg = 0x0
        c = 88 'X'
        configtestonly = 0
        def_server_root = 0x4000adb4 "/usr/local/apache2"
        temp_error_log = 0x0
        pglobal = (apr_pool_t *) 0x400272a0
        plog = (apr_pool_t *) 0x40061470
        ptemp = (apr_pool_t *) 0x40063480
        pcommands = (apr_pool_t *) 0x4005f460
        opt = (apr_getopt_t *) 0x4005f4f8
        optarg = 0x0
#8  0x7f6efbe4 in _start () from /usr/lib/libc.2
No symbol table info available.
(gdb) continue
Continuing.
Syntax error on line 234 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server:
Unresolved external

Program exited with code 01.
(gdb) bt full
No stack.
(gdb) 

Hope this can help.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22273

-- 
Edit this bug report at http://bugs.php.net/?id=22273&edit=1

Reply via email to