John John - 3 months ago 38
Linux Question

call to undefined function mssql_connect() linux hosting

I am using

Godaddy Deluxe Web Hosting
with
Linux OS
.
PHP
version is
5.3
.

I got this error :

Fatal error: Call to undefined function mssql_connect()
in ... index.php on line ...


What I need then :


  1. I have created
    php5.ini
    file

  2. I have added these options :

    extension_dir = ./

    extension=php_mssql.dll

  3. I have downloaded php_mssql.dll file and added it to root dir

  4. I have reloaded hosting.

  5. I saw no changes...



Is it possible to work with mssql with php5.3 on Linux web hosting?

Answer

install On linux

apt-get install php5-sybase

Check service On

php -m | grep mssql

you can see mssql on service

Comments