Matthias Gelbhardt wrote:
> > Matthias Gelbhardt wrote:
> >> ii php4-mysql 4.0.4.5rc6-2 MySQL module for php4
> >> ii php4-xml 4.0.4.5rc6-2 XML module for php4
> >
> > Try removing php4-mysql and php4-xml. If they're linked against the
> > internal API they are likely the cause of the segfaults. It's a known
> > problem (with PHP).
>
> I removed them from the extension-list, but no luck, there is still a
> segmentation fault.. And how can I use Mysql in php4 without the
> mysql-module?
If it's not the cause of the segfaults you can just reinstall them.
But I've seen situations where the use of the 'internal' mysql API and
the one shipped with mysql conflicted. As we must use the one shipped
with mysql, there's a problem with extensions like php-mysql which
can be compiled with the same API but usually aren't. The solution for
that would be to recompile php-mysql. Same goes for php-xml (internal
vs installed expat).
> And here the strace of apache -X, I only show the last few lines, because
> there is very much output:
>
> write(15, "[Thu Apr 19 23:01:57 2001] [debu"..., 129) = 129
> stat("/home/mad/public_html/test.php", {st_mode=S_IFREG|0644, st_size=47,
> ...}) = 0
> open("/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
> directory)
> open("/home/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
> directory)
> open("/home/mad/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
> or directory)
> open("/home/mad/public_html/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT
> (No such file or directory)
> lstat("/home/mad/public_html/test.php", {st_mode=S_IFREG|0644, st_size=47,
> ...}) = 0
> alarm(300) = 0
> umask(077) = 022
> umask(022) = 077
> setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
> rt_sigaction(SIGPROF, {0x4027ae54, [PROF], SA_RESTART|0x4000000},
> {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
Midgard hasn't done anything at this point yet. These actions simply
set up the PHP script timeout. Can you run httpd -X in gdb?
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]