Remove Fantastico Scripts
How do you remove a script that was installed by Fantastico? You can do so within Fantastico, or if that does not work you can manually remove the script.
Remove a script in Fantastico
To use Fantastico to remove an installed script, first log into cPanel, then scroll down to the Software/Services section and click on the Fantastico De Luxe icon.
On the left menu, click on the script you would like to remove. This will bring up the script information on the right side. Locate the installation that you want to delete and click the Remove link. Follow the on-screen prompts and Fantastico will remove the script and database associated with it.
Manually Removing a Fantastico Script
The first thing you should remember to do is backup your web site files and databases just in case. See this link for more information on how to do that:
Also when deleting the files and folders related to the script in question, it is a good idea not to purge the trash until you have checked and made sure things are functioning as they should be.
Step 1 - Clear Out Your public_html Folder
Remove the script from your public_html folder. Now it could have been installed directly into your public_html folder, where then you just need to remove the related files and folders. If you installed it into a specific folder, then you will need to just delete that folder. For example, when installing WordPress, you might put it in the folder called, "blog". Delete the entire folder with that name, and your job is done.
Step 2 - Remove the Related Databases
Remove the databases from your hosting account. This can be done via cPanel's MySQL database management screen. See this link for more information on that:
Step 3 - Edit/Remove References in Fantastico
If installed in a regular folder...
Now you need to remove the script from Fantastico. Login to your hosting account via FTP or cPanel's File Manager, and locate the .fantasticodata folder. Inside of that folder, find the folder that matches up with the script you want to uninstall. For example, if you installed WordPress via Fantastico, then you need to find the folder inside of .fantasticodata named "WordPress". Now navigate inside of that folder, and find the file that matches up the the information you installed, and delete that specific file.
Let us say my domain name is ilovelunarpages.com and I installed WordPress in a folder called "blog" under my public_html folder. I would need to navigate to the .fantasticodata folder, then go into the WordPress folder, and then remove the file named "ilovelunarpages.com|blog".
If installed in the "root" folder...
Here is what to do when a previous installation of a script in your root folder (primary or addon) is removed manually without using Fantastico to remove it, or Fantastico itself may not have removed the previous installation completely.
This can be corrected by logging into cPanel, clicking on "File Manager" then on the folder icon next to .fantasticodata then clicking on the filename installed_in_root.php and removing the section of code that applies to the root in question.
An example would be:
< ? $installed_in_root["domain.com"] = 1; ? >
After this is removed, the script should then be able to be installed in the root of the primary domain or addon domain.
To confirm it has been removed from Fantastico, go login to your cPanel account, click Fantastico, and now it should not be listed as one of your installed scripts.
Want to read this in another language?