#25767 [Opn->Fbk]: Apache will not start with PHP Modules
| From: | sniper@php.net | Date: | Tue, 07 Oct 2003 08:04:17 +0000 |
| Subject: | #25767 [Opn->Fbk]: Apache will not start with PHP Modules | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48623@lists.php.net to get a copy of this message | ||
ID: 25767
Updated by: sniper@php.net
Reported By: colin dot harford at ualberta dot ca
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: OpenBSD -current
PHP Version: 4.3.4RC1
New Comment:
Not sure but I think it's just missing path in LD_LIBRARY_PATH..check
what this outputs:
# ldd libphp4.so
Previous Comments:
------------------------------------------------------------------------
[2003-10-06 21:50:27] colin dot harford at ualberta dot ca
There is nothing in /var/log: I set syslog to log
everything to /var/log/all as well as everywhere else,
and nothing was placed there.
I can't run strace, as it doesn't exist for OpenBSD.
However, I did run a ktrace, which is similar ktrace ./
httpd -X -DONE_PROCESS. The kdump of it is quite long,
so I placed it on: http://www.ualberta.ca/~charford/
log.txt
Thanks,
CH
------------------------------------------------------------------------
[2003-10-06 21:18:36] sniper@php.net
you should also try strace on httpd:
# strace httpd -X -DONE_PROCESS
You can then see where it bails out.
------------------------------------------------------------------------
[2003-10-06 21:16:40] sniper@php.net
Are you sure the error is not outputted elsewhere, like syslog?
------------------------------------------------------------------------
[2003-10-06 19:05:13] colin dot harford at ualberta dot ca
Installed the new snapshot... Installs fine...
Apache still won't start
(gw!/opt/apache2/bin) [root-ttyp3]
# gdb httpd
GNU gdb 4.16.1
Copyright 1996 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 "i386-unknown-openbsd3.4"...
(gdb) r -DONE_PROCESS
Starting program: /opt/apache2/bin/httpd -DONE_PROCESS
Program exited with code 04.
CH
------------------------------------------------------------------------
[2003-10-06 18:25:12] sniper@php.net
Use this snapshot, and EXACTLY this one:
http://snaps.php.net/php4-STABLE-latest.tar.gz
And make sure those 2 lines are the 2 LAST lines in your httpd.conf.
If this still fails, start apache in gdb:
# gdb httpd
(gdb) r -DONE_PROCESS
Then you might see more what's going on.
------------------------------------------------------------------------
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/25767
--
Edit this bug report at http://bugs.php.net/?id=25767&edit=1