Fatal error: Call to undefined function sybase_connect() in C:\xampp\htdocs\pcgear\index.php on line 3 <?php $link = sybase_connect('Sybase', 'sa', '') or die("Could not connect !"); echo "Connected successfully"; sybase_close($link); ?>
Sybase and Apache themselves work. but php can't connect to sybase
I have uncommented out extension=php_sybase_ct.dll and turn on magic_quotes_sybase = On @ c:\xampp\php\php.ini
I use Windows 7 Ultimate, xampp-win32-1.7.4-VC6-installer,sybase ase155esd2_winx86.
This is how i fixed it: it seems like its an issue with xampp 1.7.4 sybase file it might be corrupted, go to this link (http://www.dlldll.com/php_sybase_ct.dll_download.html) download the php_sybase_ct.dll file and replace the one from xampp and restart your server... it should work fine...