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.

Adding a php library to cpanel

Discussion in 'General Discussion' started by madpato, Feb 9, 2013.

  1. madpato

    madpato Active Member

    Joined:
    May 30, 2008
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Hi

    I am trying to add a php extension to my cpanel configuration /http://www.advsofteng.com/doc/cdphp.htm#cover.htm, i am doing it as most of the time, adding the specific library to my extensions folder and then setting it in my php.ini. Well the application says the library is not loaded...
    i tried giving it chmod +x permissions to the library (which btw is a .dll extension and not a .so ) and restarting apache.

    Maybe i am missing something because the software keeps claiming that i dont load the extension, any extra advice is really appreciated. Thanks.
     
  2. nsanden

    nsanden Member

    Joined:
    May 11, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ;
    ; extension=modulename.extension
    ;
    ; For example, on Windows:
    ;
    ; extension=msql.dll
    ;
    ; ... or under UNIX:
    ;
    ; extension=msql.so


    You must not be running windows if your running cpanel, thus dll isn't going to work.

    [edit] just read linux does do DLL's so maybe i'm wrong. someone else can chime in.
     
    #2 nsanden, Feb 9, 2013
    Last edited: Feb 9, 2013
Loading...

Share This Page