5

So I'm trying to switch to PHP 7. Unfortunately I'm in need to connect to an MSSQL Server so I'll need the dblib driver for pdo. With PHP5 you could ust the php5-sybase Package.

So I tried to do it manually following this "Guide". freetds compiled as aspected but PHP said WARNING: unrecognized options: --with-sybase

On an other Website i found simply adding --with-mssql should work, but also failed.

Anyone having any hints or solutions for me?

Mokubai
  • 95,412
Shaeldon
  • 101

1 Answers1

1

Since you mentioned php5-sybase, I'm guessing you are using Debian or something Debian-based. Debian 9 (Stretch) and Ubuntu 16.04 currently have php7.0-sybase packages. If you need it on anything older, instead of compiling it yourself, you should consider asking for it to be added to backports.