
February 12th, 2003, 10:37 AM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
PHP4.3 with Sybase on WinNT - what's wrong?
Hi,
I'm trying to make an Apache-Sybase-PHP link on a Windows NT machine which
has a Sybase db server running on it.
But when I try
$conn = sybase_connect("db_server", "dba", "sql");
I always get
Fatal error: Call to undefined function: sybase_connect() in C:Apache
GroupApache2htdocsconnect.php on line 7
I was under the impression that for Windows machines, all you need is a
proper ODBC and you can use PHP straight away. So why does it not recognise
PHP's sybase_connect() function? Do I have to change anything in my PHP 4.3
installation, install some pack for Sybase module, or change any of the
php.ini settings?
Now, it PHP 4.3 and in the .ini file it says that the support for ODBC's is now built in. So what do I have to do to make it recognise sybase functions?
Thanx
|