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!

SOLVED Installing freetds error

Discussion in 'EasyApache' started by webdsn, May 16, 2018.

Tags:
  1. webdsn

    webdsn Active Member

    Joined:
    Mar 4, 2018
    Messages:
    29
    Likes Received:
    2
    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
    Last edited by a moderator: May 16, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. webdsn

    webdsn Active Member

    Joined:
    Mar 4, 2018
    Messages:
    29
    Likes Received:
    2
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. webdsn

    webdsn Active Member

    Joined:
    Mar 4, 2018
    Messages:
    29
    Likes Received:
    2
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. webdsn

    webdsn Active Member

    Joined:
    Mar 4, 2018
    Messages:
    29
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Taiwan
    cPanel Access Level:
    Root Administrator
    Thank for your reply

    This problem has been solved
    The problem is again ODBC version is too old
    After the update is resolved

    Just because of some conflicting relationship, updating ODBC is tedious
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I'm glad to see the issue is now solved. Thank you for sharing the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice