Re: IBM DB2/httpd not starting (cannot access memory; backtrace)
| From: | Lars Torben Wilson | Date: | Mon, 30 Oct 2000 21:29:55 +0000 |
| Subject: | Re: IBM DB2/httpd not starting (cannot access memory; backtrace) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22749@lists.php.net to get a copy of this message | ||
Antonio S. Martins Jr. writes:
> On Sat, 28 Oct 2000, Lars Torben Wilson wrote:
>
> > Just wondering if anybody had seen this or had an answer before I
> > submitted it as a bug:
> >
> > o Installed IBM DB2 7.1 & confirmed that it's working
> > o added --with-ibm-db2 (DB2 instance is in the default dir)
> > o make distclean, cvs update, buildconf, make etc (made libphp4.so)
>
> Hi Lars,
>
> If I right you had compiled PHP using the DSO interface (--with-apxs),
> when I compiled on this way it make the same error! Try recompile _all_,
> using PHP with --with-apache and recompiling apache to make a static
> module, use the instructions on the PHP install section.
>
> Hope this helps,
>
> Antonio.
Thanks--yes, that works. At least, it works enough for httpd to
start. However, now *no* ODBC-type stuff works in PHP, and all of the
error messages are completely useless as memory seems to be getting
corrupted and PHP just spews garbage. :( I've gone over the entire
mail archive & bug database; set up odbc.ini, odbcinst.ini,
$DB2INSTANCE, etc etc ad nauseum, and nothing helps.
The above problem has been reported before, but the bug report was
closed and the user never reported whether they got it to work. I'm
afraid I don't have any more time to fart around with it right now,
but if I ever get it worked out I'll try to find time to write a
DB2/PHP howto or something.
Thanks very much for the tip, though. :)
Cheers,
Torben
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+