cannot connect to sybase, but no (undefined)errors
| From: | Peter Sands | Date: | Tue, 18 Dec 2001 19:55:06 +0000 |
| Subject: | cannot connect to sybase, but no (undefined)errors | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15089@lists.php.net to get a copy of this message | ||
Hi,
I am tying to connect to sybase 11.9.2 from php 4.1.0 on aix.
I have successfully installed php as a CGI (apache). The phpinfo() function tells me that sybase
client is supported. But when I try to connect I get a failure....
$connection=sybase_connect("SYB_SRV", "sa", "pizza");
<?
if (!$connection)
{
echo "failure to connect to Sybase SERVER!";
exit;
}
...
The 'failure to connect..' is always printed.
I have su'd as nobody and ran isql from the command line to connect to the SYB_SRV sybase
server, so I know it is not a permissions problem.
Apacge is run as nobody , so I cannot see the problem.
any help please
PS
_____________________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com