ID: 22273
Updated by: [EMAIL PROTECTED]
Reported By: germano60 at yahoo dot it
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: HP-UX 11.00
-PHP Version: 4.3.0
+PHP Version: 4.3.2-dev
New Comment:
Could you try this with using Apache 1.3.27 instead?
(I'd like to be sure it's stricly apache2 related)
Previous Comments:
------------------------------------------------------------------------
[2003-02-24 03:59:14] germano60 at yahoo dot it
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 ... ]
------------------------------------------------------------------------
[2003-02-23 05:34:53] [EMAIL PROTECTED]
Can you try adding this to your configure line:
--enable-libgcc
------------------------------------------------------------------------
[2003-02-19 22:58:23] [EMAIL PROTECTED]
Just noticed there's some HPUX related note in the httpd.conf about not
running it as 'nobody'..I guess you know this too?
------------------------------------------------------------------------
[2003-02-19 22:57:32] [EMAIL PROTECTED]
Simple 'bt full' output would have been enough.. :)
Anyway, does it do the same if you run it with 'httpd -X' ?
(provide that backtrace, and just the bt output)
(gdb) run -X
<crash?>
(gdb) bt full
(and to be absolutely sure this is php bug, I assume that apache works
fine without PHP in httpd.conf? :)
------------------------------------------------------------------------
[2003-02-19 09:02:16] germano60 at yahoo dot it
Results of analysis with gdb:
I used gdb to debug the "httpd -t" program, so to reproduce the problem
without having to affect the operation of Apache.
The error condition is detected by the function:
errmsg = ap_build_config(&parms, p, ptemp, conftree);
located at line 1563 in Apache's source file config.c
Could this help?
Cheers
Germano Gasparini
------------------------------------------------------------------------
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