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!

Is it possible to write plugin for WHM by PHP?

Discussion in 'cPanel Developers' started by Jason4Ever, Sep 3, 2011.

  1. Jason4Ever

    Jason4Ever Registered

    Joined:
    Sep 26, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    i want make plugin for WHM , i'm PHP Developer . and beginner with PERL , so i ask is it possible to make plugin by PHP instead PERL ?

    i tried , but the problem was that important functions in php which deal with command line is disabled in php.ini file , and safe_mode on is another problem ,, so is there any method to avoid php.ini configurations when use php from command line ?

    thanks,
     
  2. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Yes it is, just create your plugin file with a shebang of #!/usr/bin/php-cgi and you should be able to write it in PHP.
     
    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