problem with apache and php-odbc
From: AldoX (mc7569NOSPAM_at_NOSPAMmclink.it)
Date: 10/29/04
- Next message: TiM: "How to get lost of the variable after a ? in a URL?"
- Previous message: TiM: "Re: Delete files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Oct 2004 17:17:38 +0200
Hi all.
On a LAMP, I have a php page which accesses an external db (DB") via an
odbc call:
> $dsn = "DRIVER=iSeries Access ODBC Driver;SYSTEM=$isdb_system";
>
> $db = odbc_pconnect($dsn, $user, $password);
This page, launched at the command line, woks fine.
The same page, loaded into a browser (i.e.: called by Apache) doesn't
work, and in /var/log/httpd/error_log appears:
> [Fri Oct 29 13:42:05 2004] [notice] child pid 10935 exit signal
Segmentation fault (11)
It looks like an Apache's problem... No questions about "apache" user's
privileges, because from the command line the page works even if
launched by the apache user.
So, where's the problem ?
Thanks
Aldo
- Next message: TiM: "How to get lost of the variable after a ? in a URL?"
- Previous message: TiM: "Re: Delete files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|