Re: interbase help
| From: | Lutz Brueckner | Date: | Thu, 12 Oct 2000 11:33:38 +0000 |
| Subject: | Re: interbase help | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3543@lists.php.net to get a copy of this message | ||
"Sergey Y. Abdurashitov" <delphi@med.sgu.ru> wrote:
> why this is not work?
>
> $st = "insert into tbl (char_field) values (?)";
> $q = ibase_prepare($db, $st); //this is OK
> $vv = "Hello, world";
> ibase_execute($q, $vv); //fails...child pid 13957 exit signal Segmentation fault (11)
Can you insert to the table without the prepare/execute?
i.e.: $st = "insert into tbl (char_field) values ('Hello world')" ;
ibase_query($db, $st);
> using php4, interbase 4 on linux.
Are you sure that interbase 4 is supported by the php mudule?
I never heard that anyone is using interbase 4 together with
php, although I cannot find any hint that ib 4 is not
supported ...
> I'm trying many variants of $vv like "'Hello, world'",
> "''Hello, world''", trying to setup in php.ini
> magic_quotes_gpc=Off/On, magic_quotes_sybase=Off/On,
> magic_quotes_runtime=Off/On in different combinations....
> but with the same result ;)
If the apache child dies the reason has nothing to do with
this settings.
Lutz
--
ibWebAdmin 0.2alpha *** web-based InterBase database administration
*** download the latest version from http://home.knuut.de/lb/ ***