php sybase config problem:undefined function sybase_connect(

Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: macek, egami, gesf

ouou
New php-forum User
New php-forum User
Posts: 1
Joined: Thu Sep 08, 2011 2:36 pm

php sybase config problem:undefined function sybase_connect(

Postby ouou » Thu Sep 08, 2011 2:40 pm

0down votefavorite

share [fb]share [tw]share [in]



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.

Please help. Thank you very much!


]
Attachments
localhost.png
localhost.png (213.49 KiB) Viewed 1031 times
sybase.png
sybase.png (197.53 KiB) Viewed 1031 times
phpinfo2.png
phpinfo2.png (241.66 KiB) Viewed 1031 times

tito
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Oct 12, 2011 12:30 am

Re: php sybase config problem:undefined function sybase_conn

Postby tito » Wed Oct 12, 2011 12:36 am

I had the same problem as well...

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...

Happy programming :)


Return to “Other Database Engines”

Who is online

Users browsing this forum: No registered users and 1 guest