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!

Really Basic Question about Writing an installer for cpanel

Discussion in 'cPanel Developers' started by gengstrand, Aug 19, 2009.

  1. gengstrand

    gengstrand Registered

    Aug 19, 2009
    Likes Received:
    Trophy Points:
    I have a client who is asking for a cpanel installer for the application that I am writing for him. I have been to these pages...

    cPanel Plugins - Developer

    Introduction to cPAddons

    Creating Addon Scripts

    Creating a New cPAddon Script

    ...but I am still not getting it. The application to be installed is written in PHP and expects to work with a MySql database. I expected to write a PHP program that functions as an install script which does something like this...

    • copy a file hierarchy to the target sub folder under document root
    • capture database connection information and use that to write some kind of config.php file
    • create a database schema and pre-populate certain tables within it
    • the ability to modify certain files such as .htaccess would also be very nice

    I didn't really see any of that in the documentation. I did see some sample perl code but it didn't do anything even close to what I was expecting.

    Is there some "writing cPAddons for dummies" document that will set the context for the above resources?
    #1 gengstrand, Aug 19, 2009
    Last edited: Aug 19, 2009

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