Modify Softaculous Installation File

This is useful for cases in which it is necessary to alter the information that softaculous handles about the installations that we have made through it, for example if an update has not been carried out correctly and we need to repeat it, we can modify this file so that Softaculous shows again the option to update the application in question.

To do so, follow the steps shown below:

  1. Enter the corresponding cPanel.

  2. Go to "Files> File Manager" and make sure to check the options "Home Directory" and "Show Hidden Files (dotfiles: .example)." in the box before opening the administrator.

  3. Open the ".softaculous" folder, select the "installations.php" file and press the "Code Editor" button.

  4. Modify the file according to your needs and save the changes.

When you open the file you will find a line of code with all the data of the different installations that you have done through Softaculous, you can modify the necessary data in that line. The data is as follows (X = any natural number):

s: X: "ver"; s: X: "XXX"; > Application version.
s: X: "softpath"; s: XX: "/ home / User/ public_html / route"; > Installation path.
s: X: "softurl"; s: XX: "http://domain.com/route"; > URL of the installation.
s: XX: "softdatadir"; s: XX: "/ home / user / folder"; > Path where the application information is located.
s: X: "softdb"; s: XX: "user_data-base"; > Application Database s: XX: "softdbuser"; s: XX: "user_data-base-user"; > User of the application database.

s: XX: "softdbhost"; s: X: "localhost"; > Host configured for the application.
s: XX: "softdbpass"; s: XX: "password"; > User password for the Database.

These data vary depending on the installed application.

  • cpanel, settings
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

SSL Certificates

What is an SSL certificate? An SSL...

Activate Domainkeys and SPF

This article is valid for WHM / cPanel To...

Add IP address to SPF records

When working with SPF records, you may need to add additional IP addresses to...

Addon Domains

An Additional Domain allows a new domain name to be linked to a subdirectory of your account. The...

Antispam System Operation

All our Shared Hosting servers (cPanel Reseller Plans and End Users) are now equipped with a...