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.

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
Similar Threads - Really Basic Question
  1. kabatak

Share This Page