RE: Connect to Sybase !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
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:ceo@xxxxxxxxx] 
Sent: Thursday, November 30, 2006 1:59 AM
To: Le Phuoc Canh
Cc: PHP Mailing
Subject: Re:  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?


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux