Fantastico de Luxe is a feature in cPanel that lets you easily install programs to your account. As of September 17th, 2012, Fantastico is no longer available and has been replaced by Softaculous.

To help alert our customers to this change, this announcement has been placed on all articles relating to Fantastico. If you have not used Fantastico or Softaculous, please see our Softaculous software installation guide for more help with installing programs such as WordPress and Joomla.

If you are installing a program through Fantastico De Luxe and receive the following (or similar) error, this article will help you resolve this issue so you can continue with your new software installation.

fantastico-cannot-install-more-than-one-script-root-directory
The installation can not be completed...

This error is caused by either:

  • Another software package already installed in the same folder (public_html or other folder)
  • Manual removal of a previous software package and information remaining in Fantastico data files.

Cause 1: Other Application Already Installed in the Same Folder

If you have another software program already installed where you are trying to install your new software, first determine if you want to use both applications or if you no longer wish to use the application you previously installed.

If you would like to use both software applications, either create a subdomain or subfolder for the second application.

  • For installation on a subdomain, first create the new subdomain. Then, choose that new subdomain in the Install on domain dropdown in Fantastico.
  • To create a new subfolder, type in the new subfolder name in the Install in directory field during the installation process in Fantastico.

If you no longer wish to use the previously installed application

Please follow the instructions in our Removing Software in Fantastico De Luxe article to remove the first application. Then continue with installation of second application.

Cause 2: Manual Removal of Software Previously Installed through Fantastico

Manually removing files and folders previously installed using Fantastico does not update the data file that Fantastico De Luxe uses to keep track of installed software. If you have already manually deleted files and folders, there are two files that will need your attention in order to resolve this issue. If applicable, you will also want to remove any database or database users previously created by Fantastico.

Before making the following changes, it's recommended that you first make a full backup of your account in the event there are any issues during the editing and removal processes outlined below.

From the cPanel home screen click on the File Manager icon and select the Home Directory and be sure to select Show Hidden Files (dotfiles).

Navigate into the .fantasticodata folder (double click the folder name) and find the installed_in_root.php file. Open this file for editing by clicking on the Edit icon.

fantastico-installed-in-root

If you have other software still installed in subdomains or subfolders, you will see references to those as well. In our example here, I have a WordPress installation in the wp.whhsupport.com subdomain that I do not wish to remove the data for. I'm only removing the reference to the installation that was in the main domain name document root (public_html):

$installed_in_root["whhsupport.com"] = 1;

fantastico-installed-in-root-edit

fantastico-installed-in-root-edited

Click the Save Changes button to close the file and save your changes.

Next, based on the name of the application you previously installed, navigate into that folder name under the .fantasticodata folder. Delete the file named for the domain or subdomain where you previously installed your software. In this example, I installed WordPress on my main domain name and manually deleted the files. So, I will navigate into .fantasticodata/WordPress and delete the whhsupport.com file in that folder.

delete-domain-file-for-fantastico

The last step will be to delete the database and database user that was created for the previously installed software. While this is not required for Fantastico to do a new installation, it is a good idea for general organization of your account. If you have more than one database and you aren't sure which one to remove, you can reference the configuration files of any installations you are keeping and take note of the databases that software uses. Be sure you do not delete any databases still being used by other software.

To delete a database click the Delete Database link beside the database name and follow the prompts on the screen. The database user can be deleted by clicking the red X in the delete column beside the user you want to delete and following the prompts as well.

delete-database

delete-database-user

Now you're ready to install your new software through Fantastico. It's also a good idea to go ahead and make another backup of your account after these types of changes.

[screen shots fantastico-installed-in-root-edit & fantastico-installed-in-root-edited]

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.