Well,

you solution is working, but wrong one. The real reason why sybase module installs mssql.so is they are really (almost) the same - they use same library to access database. With one small exception - mssql module is better maintained and provides pdo version, and works better in some cases. That was reason to do the switch in Debian.

I am not really sure why Steve didn't provide aliases from sybase to mssql function, but my patch should ensure it. I'll commit it into Debian svn and it will propage into next version of Ubuntu as well.

Ondrej.

2008/6/18 Paul McLanahan <pmclanahan@gmail.com>:
Solution:

Ok... so I installed the php5 source package

apt-get source php5

I decided to just give the extension in ext/sybase a try before applying
any patches.

cd ext/sybase
phpize && configure && make && sudo make install

After that it was a simple matter of adding a sybase.ini file to
/etc/php5/conf.d with the contents

extension=sybase.so

I then restarted apache2 and it works :)

I'm still a bit confused as to why the php5-sybase package installs the
mssql.so module, and the php5-mssql package is a virtual for
php5-sybase. But it is working for me now, and hopefully the people who
need this info can find it here.

Thanks again for the help Ondřej and Chuck!

Paul

--
sybase_* functions missing in php5-sybase for hardy
https://bugs.launchpad.net/bugs/240519
You received this bug notification because you are subscribed to php5 in
ubuntu.



--
Ondřej Surý <ondrej@sury.org>