Re: PHP4, Sybase and Linux
| From: | Koos van den Hout | Date: | Wed, 06 Sep 2000 12:20:33 +0000 |
| Subject: | Re: PHP4, Sybase and Linux | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2653@lists.php.net to get a copy of this message | ||
Quoting Jon Kvebaek who wrote on Wed, Sep 06, 2000 at 01:27:46PM +0200:
> Apache/1.3.12, PHP/4.0.2 and Sybase 11.0.3.3
> PHP seems to be working fine, but there must be something wrong with
> the sybase setup (or php/sybase config). A simple testscript like
> this:
>
> <?php
> echo "Hi, I'm a PHP script!";
> $db=sybase_connect("foo","bar","baz");
> ?>
>
> gives me this result:
>
> Hi, I'm a PHP script!
> Warning: Sybase: Server message: Cannot find the requested character
> set in Syscharsets: name = 'cp43\
> 7'.
$db=sybase_connect("foo","bar","baz","iso_1")
undocumented feature, saw it on the php annotated documentation.
I had to remove the 4th parameter again when switching to sybase-ct libs.
> Any ideas on how to fix this?
The other warnings are error_reporting specific.
Koos van den Hout
--
Koos van den Hout, PGP keyid RSA/1024 0xCA845CB5 via keyservers
koos@kzdoos.xs4all.nl or DSS/1024 0xF0D7C263 -?)
Fax +31-30-2817051 Visit my site about books with reviews /\\
http://idefix.net/~koos/ http://www.virtualbookcase.com/ _\_V