Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installing freetds error

Discussion in 'EasyApache' started by webdsn, May 16, 2018 at 12:16 AM.

Tags:
  1. webdsn

    webdsn Member

    Joined:
    Mar 4, 2018
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Taiwan
    cPanel Access Level:
    Root Administrator
    I follow this post try to install freetds

    Definitive FreeTDS installation instructions

    But in step 4
    I don't find this file
    /var/cpanel/easy/apache/rawopts/all_php5

    I want to install ODBC driver
    Connect to MS SQL server using PHP

    Have anyone can help me ?
     
    #1 webdsn, May 16, 2018 at 12:16 AM
    Last edited by a moderator: May 16, 2018 at 11:48 AM
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,214
    Likes Received:
    1,757
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. webdsn

    webdsn Member

    Joined:
    Mar 4, 2018
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Taiwan
    cPanel Access Level:
    Root Administrator
    Thank your reply Michael

    When I checked the system, I found that my system has CloudLinux installed
    ODBC module enabled in EasyApache4
    Can that apply to CloudLinux's PHP?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,214
    Likes Received:
    1,757
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  5. webdsn

    webdsn Member

    Joined:
    Mar 4, 2018
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Taiwan
    cPanel Access Level:
    Root Administrator
    Thank your reply Michael
    I already see this document
    and I have install alt-php
    But when I open php selector and use PHP 7.0
    there is no pdo_sqlsrv and sqlsrv option inside
    even I open CloudLinux LVE manager selector also don't see it
     

    Attached Files:

  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,214
    Likes Received:
    1,757
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @webdsn,

    You should enable the "pdo_dblib" PHP extension for PHP version 7.0 with PHP selector. Once you do that, can you let us know the specific error message you receive when attempting to open the PHP page that makes the MSSQL connection?

    Thank you.
     
Loading...

Share This Page