GithubHelp home page GithubHelp logo

php7-slackbuild's Introduction

Installation Order

This README explain how to get PHP7 works with Microsoft SQL Server. You can choose using FreeTDS or Microsoft SQL Server Native Client or both.

FreeTDS

  • unixODBC
  • freetds
  • php-pdo_dblib

Microsoft SQL Server Native Driver

  • unixODBC
  • msodbcsql (msodbcsql17)
  • php-sqlsrv

NOTES

  • Default Slackware's ODBC library is libiodbc. unixODBC will replace some of libiodbc files. Please reinstall libiodbc if you uninstall unixODBC.

  • If you don't like your stock libraries being replaced, then FreeTDS is a safe choice.

  • Microsoft SQL Server ODBC Driver from Suse Linux Enterprise repository

  • After installing msodbcsql you must install the ODBC driver (run as root):

    This for msodbcsql driver version 13:
    
    shell> odbcinst -i -s -f /opt/microsoft/msodbcsql/etc/odbcinst.ini -l
    
    This for msodbcsql driver version 17:
    
    shell> odbcinst -i -s -f /opt/microsoft/msodbcsql17/etc/odbcinst.ini -l
    
  • Add your sqlserver DSN in /etc/odbc.ini like this:

[MYSERVERNAME_OR_IP]
Driver=ODBC Driver 13 for SQL Server
Description=My Microsoft SQL Server
Server=IP_OR_HOSTNAME
Port=1433
Database=
User=
Password=
  • Test DSN connection using:
isql -v MYSERVERNAME USERNAME PASSWORD

WARNING

By installing msodbcsql binary driver you are accepting all terms and condition in /usr/doc/msodbcsql-@VERSION@/LICENSE.txt

Please read it!

php7-slackbuild's People

Contributors

bjoern-reichert avatar rumbler avatar w41l avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.