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.

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:
    1
    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 cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
Loading...

Share This Page