Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everybody! I've a Debian Sarge running Apache, PHP and some other stuff. Well, now I need the Microsoft SQL Server Functions ( http://php.net/mssql); I've installed freetds-dev and the php4-pear ...
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Location
    Italy
    Posts
    1

    PHP and mssql on Debian stable

    Hi everybody!

    I've a Debian Sarge running Apache, PHP and some other stuff.
    Well, now I need the Microsoft SQL Server Functions
    (http://php.net/mssql); I've installed freetds-dev and the php4-pear packages:

    ii php4 4.3.10-16 server-side, HTML-embedded
    ii php4-cgi 4.3.10-16 server-side, HTML-embedded
    ii php4-cli 4.3.10-16 command-line interpreter for
    ii php4-common 4.3.10-16 Common files for packages built
    ii php4-gd 4.3.10-16 GD module for php4
    ii php4-imap 4.3.10-16 IMAP module for php4
    ii php4-mysql 4.3.10-16 MySQL module for php4
    ii php4-odbc 4.3.10-16 ODBC module for php4
    ii php4-pear 4.3.10-16 PEAR - PHP Extension and
    ii php4-sybase 4.3.10-16 Sybase / MS SQL Server module

    # dpkg -l|grep freetds
    ii freetds-dev 0.61-6.2 MS SQL and Sybase client

    but I still get this error message:
    Fatal error: Call to undefined function: mssql_connect()

    The php manual page says that "The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini", but seekin with the Debian-Packages site I've not found php_mssql.so or mssql.so ...

    There's no way to use mssql functions without compile PHP from sources?

    Thanks!

  2. #2
    Just Joined!
    Join Date
    Dec 2006
    Posts
    1
    Try installing php4-sybase (php4-sybase - Sybase / MS SQL Server module for php4).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •