Bug #14146 Updated: Compiles fine, but PHP binary and module just exit
| From: | sniper@php.net | Date: | Wed, 21 Nov 2001 17:30:05 +0000 |
| Subject: | Bug #14146 Updated: Compiles fine, but PHP binary and module just exit | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71269@lists.php.net to get a copy of this message | ||
ID: 14146
Updated by: sniper
Reported By: ivo@sara.nl
Old Status: Open
Status: Feedback
Bug Type: *General Issues
Operating System: AIX
PHP Version: 4.0.6
New Comment:
What does 'bt full' output? (in GDB)
Previous Comments:
------------------------------------------------------------------------
[2001-11-20 10:08:16] ivo@sara.nl
Additional note: PHP 3.0.18 does not have this problem, but all the older 4.x versions available on
php.net (4.0.5, 4.0.4pl1) behave exactly the same as 4.0.6 after compilation.
------------------------------------------------------------------------
[2001-11-20 07:21:49] ivo@sara.nl
strace is available, but I haven't got much experience with it. Perhaps it works differently
under Linux, but 'strace php' is not the way on AIX.
Purpose
Prints STREAMS trace messages.
Syntax
strace [ mid sid level ] ...
------------------------------------------------------------------------
[2001-11-20 07:12:29] ivo@sara.nl
Oh, output of gdb php:
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "rs6000-ibm-aix4.2.1.0"...
(gdb) run
Starting program: /san/stst/ststivo/bin/php
Program exited with code 06.
------------------------------------------------------------------------
[2001-11-20 07:11:34] derick@php.net
If AIX includes this feature, can you do something similar to 'strace php' in Linux?
Derick
------------------------------------------------------------------------
[2001-11-20 07:09:55] ivo@sara.nl
Compiling PHP 4.0.6 under AIX with
./configure --prefix=/san/stst/ststivo --enable-cgi
Will result in a clean build, but the binary when started,
will exit immediately, offering NO info on what happened.
The same happens with building as Apache (1.3.22) module, but the
httpd binary will exit immediately, without error msg or
log msg.
uname -a:
AIX kameel 2 4 0042F55A4C00
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14146&edit=1