-
PHP & Sybase
Hey!
This is my first thread. I hope you can help me.
I'm building a web site with PHP 4.0, and Sybase, but everytime I try to connect to the database I get the following message:
"Fatal error: Call to undefined function: sybase_connect() "
I guess I have to enable Sybase support in PHP in the php.ini file. But how do I do it? what do I have to do?
Thanks!
-
Have you compiled PHP with Sybase support?
If so check your configuration settings and make sure all information such as host and password are correct.
You may also want to check this out as well:
http://www.php.net/manual/en/ref.sybase.php
-
ODBC Connect
I tried to see how to comply PHP with Sybase on php.net but they don't explain very well.
So I've configured a ODBC connection instead, i'ts easier and it works!
Thanks 4 your help!