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.

Recompile php with attribute

Discussion in 'General Discussion' started by stefano.coccia, Apr 14, 2010.

  1. stefano.coccia

    stefano.coccia Registered

    Joined:
    Apr 14, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi, I want recompile php whit other option (--with-mssql=/usr/local/freetds), I haved try to easyapache but I can't insert the new option...

    Can help me anybody?
     
  2. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    cPanel doesn't support MSSQL through FreeTDS directly through EasyApache. I wrote an article on how to do this with cPanel quite a few months ago, and I haven't tested it since, but it worked when I wrote it:

    *shameless plug*
    MSSQL Support in PHP5 | From Garrett's Desk

    This article is in no way affiliated with cPanel, and I provide no warranty as to it's functionality or lack thereof, so caveat emptor.
     
  3. stefano.coccia

    stefano.coccia Registered

    Joined:
    Apr 14, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thank is all ok, but I must be copied /usr/local/freetds/lib to /usr/local/freetds/lib64 because go to error

    Tnx very much
     
  4. plague

    plague Active Member

    Joined:
    Sep 22, 2006
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brasil
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello.

    If I want to access 2 different mssql servers (1 domain needs access to one server e another domain needs access to another server), did I just add a new "host =" line in "/usr/local/freetds/etc/freetds.conf"
     
  5. plague

    plague Active Member

    Joined:
    Sep 22, 2006
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brasil
    cPanel Access Level:
    Root Administrator
    Twitter:
    nvm, I found it =)
     
Loading...

Share This Page