Re: [PHP] Connect to Sybase !
On Tue, November 28, 2006 8:01 pm, Le Phuoc Canh wrote: I want to make a connection to sybase database with PHP on win32 platform, but i can't recompile PHP with extension --with-cybase-ct. Please help me In the .zip file you downloaded for PHP, there should have been, hopefully, a file named something like php_sybase.dll If you fix up your php.ini and uncomment the line matching that, you'll get the Sybase DLL loaded in. Caveats: You have to check with ?php phpinfo();? where your php.ini file is, or is supposed to be, and make sure you have a php.ini file in that directory, and edit THAT php.ini file, and php.ini has to be readable by the user that PHP is running as, and the DLL has to be in the directory named in php.ini and the DLL also has to be readable/executable by the user running PHP. Whew. That's a lot of gotchas to stumble through for a newbie, but there it is. -- Some people have a gift link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Connect to Sybase !
Of course I know edit my php.ini, but the problem here that when I test use sybase_connect() function and run by command line, a message This application has failed to start because libct.dll was not found. Can you help me to solve that problem. BR -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 1:59 AM To: Le Phuoc Canh Cc: PHP Mailing Subject: Re: [PHP] Connect to Sybase ! On Tue, November 28, 2006 8:01 pm, Le Phuoc Canh wrote: I want to make a connection to sybase database with PHP on win32 platform, but i can't recompile PHP with extension --with-cybase-ct. Please help me In the .zip file you downloaded for PHP, there should have been, hopefully, a file named something like php_sybase.dll If you fix up your php.ini and uncomment the line matching that, you'll get the Sybase DLL loaded in. Caveats: You have to check with ?php phpinfo();? where your php.ini file is, or is supposed to be, and make sure you have a php.ini file in that directory, and edit THAT php.ini file, and php.ini has to be readable by the user that PHP is running as, and the DLL has to be in the directory named in php.ini and the DLL also has to be readable/executable by the user running PHP. Whew. That's a lot of gotchas to stumble through for a newbie, but there it is. -- Some people have a gift link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?
Re: [PHP] Connect to Sybase !
Le Phuoc Canh wrote: Of course I know edit my php.ini, but the problem here that when I test use sybase_connect() function and run by command line, a message This application has failed to start because libct.dll was not found. ..so it's not that php doesn't support it, it's that php can't get to the sybase dll's. Completely different issue. Does the libct.dll file exist on your system? Is it in the environment path? -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Connect to Sybase !
Thanks Chris, I understand my problem, but can you show me where to find the libct.dll or where I can get libct.dll Thanks Best Regard -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 11:14 AM To: Le Phuoc Canh Cc: PHP Mailing Subject: Re: [PHP] Connect to Sybase ! Le Phuoc Canh wrote: Of course I know edit my php.ini, but the problem here that when I test use sybase_connect() function and run by command line, a message This application has failed to start because libct.dll was not found. ..so it's not that php doesn't support it, it's that php can't get to the sybase dll's. Completely different issue. Does the libct.dll file exist on your system? Is it in the environment path? -- Postgresql php tutorials http://www.designmagick.com/
Re: [PHP] Connect to Sybase !
Le Phuoc Canh wrote: Thanks Chris, I understand my problem, but can you show me where to find the libct.dll or where I can get libct.dll Search for it. libct.dll sybase returns a few results. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Connect to Sybase !
Dear all, I want to make a connection to sybase database with PHP on win32 platform, but i can't recompile PHP with extension --with-cybase-ct. Please help me !!!
Re: [PHP] connect to sybase
Can You describe more detail ??? What kind, version of Sybase server do You use, what version of PHP, what Linux distribution etc... In other case I can't help You. Krzysztof Kocjan Edney Marcel Imm wrote: Hi How I can connect to syBase? Tks -- Sprawdz, jak fantazja staje siê rzeczywistoscia... http://final-fantasy.interia.pl/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] connect to sybase
Hi How I can connect to syBase? Tks