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 How to run a .dll file

Discussion in 'General Discussion' started by Larkolag, Jun 10, 2018.

  1. Larkolag

    Larkolag Active Member

    Joined:
    May 22, 2017
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Trabzon
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi friends cpanel I need to run a file with a .dll extension on the server how do I do this?
    I'm glad you helped me.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    721
    Likes Received:
    245
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    A .dll file (dynamic link library) is written for the Windows environment, and wont run natively under Linux.

    You would probably have to extract it and recompile it as an. so - and unless it was originality compiled with Mono, it is unlikely to work.

    There is a 'loadlibrary' facility to port dll's to Linux available in github. I have never tried it and have no idea if deploying it would be fundamentally incompatible with cPanel or your server set-up. I would suggest you only try using this on a test or development server and NOT on any of your production servers.

    In the long run, it would probably be better and easier to use some alternative software, rather than rely on something developed for Windows that uses proprietary dlls, or deploy a Windows Apache or IIS server specifically for the purpose (but you wont be able to run cPanel on it)

    Hope this helps.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Larkolag likes this.
  3. Larkolag

    Larkolag Active Member

    Joined:
    May 22, 2017
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Trabzon
    cPanel Access Level:
    Root Administrator
    Twitter:
    thank you so much for your reply :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    I'm glad to see the earlier response answered your question. I've marked this thread as solved.

    Thank you.
     
    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