Re: linux, apache, mssql
| From: | H M Kunzmann | Date: | Wed, 07 May 2003 14:20:50 +0000 |
| Subject: | Re: linux, apache, mssql | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146674@lists.php.net to get a copy of this message | ||
On Wed, 2003-05-07 at 15:23, Jason Sheets wrote:
> I just accomplished this with FreeTDS, note that I had to use
> --with-sybase and not --with-mssql (when --with-mssql was used the
> connect functions did not return a valid mssql connection). After I
> compiled with --with-sybase=/path/to/freetds I was able to use the mssql
> functions and the sybase functions.
>
> Take a look at the user contributed notes on
> http://www.php.net/manual/en/ref.sybase.php.
>
> The first thing you need to do is get freetds compiled and installed
> (FreeTDS's manual covers this pretty well). After you install FreeTDS
> make sure you can use the FreeTDS client to connect to your server,
> after that it's pretty much in the bag..
I've got a freetds rpm, that installs the freetds libraries
into /usr/lib
I've tried compiling php with --with-sybase=/usr/lib, but I
get loads of errors along the line of the following:
-c php_sybase_db.c && touch php_sybase_db.lo
php_sybase_db.c:38:22: sybfront.h: No such file or directory
It gets these errors when it tries to compile the /ext/sybase
directory.
Do you have any sybase libraries other than freetds installed ?
Any ideas ? Thanks for any help you can offer
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc