PHP7 - Connect to sybase database

J Fernyhough j.fernyhough at gmail.com
Fri Jan 27 14:48:35 UTC 2017


Not sure of the relevance, but
https://ubuntuforums.org/showthread.php?t=803202 says:

I have to replace all sybase references for mssql.
>
> Instead of using sybase_connect, i have to use mssql_connect, and all
> other functions the same.
>

Otherwise it looks like recompiling PHP to include support (perhaps with
some Sybase-specific interfaces/files/libraries from their package).


J


On 27 January 2017 at 09:43, Antony Wellens <antony.wellens at gmail.com>
wrote:
> Hi guys,
>
> Can someone help me out?
>
>
> http://php.net/manual/en/function.sybase-connect.php is removed as from
> PHP7.
>
> So now I am getting this error:
>
> PHP Fatal error:  Uncaught Error: Call to undefined function
> sybase_connect()
>
> How am I supposed to connect to sybase now with PHP7?
>
> I've got the PHP7.0-sybase package installed. OS: Ubuntu 16.04
>
>
>
> Regards
>
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20170127/af53369b/attachment.html>


More information about the Ubuntu-devel-discuss mailing list