Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Auto install a app fron Softaculous



Threaded Mode | Print  

 Auto install a app fron Softaculous, auto installer (1 Replies, Read 689 times)
kepler
Group: Member
Post Group: Newbie
Posts: 11
Status:
Good afternoon,



I created allready a php which creates automatically an account (subdomain) in whm with a cpanel account. Now I'm trying to do the same, but regarding a
particular app from Softaculous, without the user having to do it.
I found the attached code.

But I have 3 questions:

1) Does the script requires the include('/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/sdk/installapi.php'); ? If it's not there I get an automatic error of unexistence of Soft_Install()

2) Will the app be installed automatically, or must the user/root login to cPanel?

3) Is data['softdomain'] the 'username.domain.com', and the data['admin_pass'] the root password?

I tryed several times this script test but I get:
Port number ended with 'A'

and...nothing...

There's a lot of missing knowledge in my behalf here.

Can someone please help? I apreciate it very much...

Kind regards,

Kepler
                       
IP: --   

Auto install a app fron Softaculous
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

Yes if you would like to use the class Soft_Install which is defined in installapi.php you will need that file. That file is independent so you can SSH to your server and download the file at path :
/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/sdk/installapi.php

and place it anywhere you need and then include the file from there.

2) If the user wants to install anything via GUI they can login to cPanel and install the apps anytime. If you want to do it via API you need to pass the authentication using the cPanel login details.

3) softdomain is the domain where you wish to install the application. admin_pass is the password you would like to use for the admin account of the script that will be create during the script installation.

Let us know if you have any questions.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 10:53 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.021