php and sybase
| From: | Tom | Date: | Fri, 13 Oct 2000 17:26:56 +0000 |
| Subject: | php and sybase | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3595@lists.php.net to get a copy of this message | ||
I got an error message when using php to connect a
sybase ase server on a winnt box.
First, I installed the following software on a winnt
box:
1 Software installed
2 php4.03 win32
3 winnt4.0
4 ASE11.92 win32
5 IIS4
6 sybase open client
Second, I configured the php.ini file and tested by
using phpinfo(), and everythings look fine.
lines extract from php.ini
extension=php_sybase_ct.dll
Forth, php script for connecting the sybase server
<?php
$server="servername";
$uname="sa";
$passed="";
$connect=sybase_connect($server, $uname, $passed)
or die ("Could not connect to the ASE!");
?>
Finally, i got an error message which shows that the
ASE denied my connection request:
Sybase message: warning.......access violation....
Help please, what's wrong with my configuration.
Thanks for your help
Tom
=====
Tom
mailto:tomcwh@bigfoot.com
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/