This article explains what to do when the error “You cannot install more than one script in the root directory of a domain” appears. That message was shown by Fantastico de Luxe, the previous installer. cPanel no longer includes it: today applications are installed with Softaculous.
Why does it appear?
When installing an application in the domain root, Fantastico left the installed_in_root.php file there to mark that the folder was already occupied. The file remains in the root in two cases:
- The application was deleted manually, from the File Manager or via FTP.
- The uninstallation from Fantastico did not finish properly.
As long as that file is still there, the old installer does not allow another installation in that folder.
Access: log in to cPanel from the client portal → Log in to cPanel, or at https://yourdomain.com/cpanel.
Important: delete only installed_in_root.php. The rest of the files in the folder belong to the site and must stay where they are.
How to fix it
- In cPanel, open Files → File Manager. You can also connect via FTP.
- Go to the domain root. For the primary domain it is
public_html. For an add-on domain, it is the folder listed under Domains. - Look for the
installed_in_root.phpfile.
- Select only that file and delete it.
- Install the application from Softaculous Apps Installer.
If there is already a site in the root and you want to add another application, in Softaculous type a folder name in the directory field, for example blog. The application will be located at yourdomain.com/blog and will not overwrite the root.
How to prevent it from happening again
Always install and uninstall applications (WordPress, Joomla, Moodle, or others) from Softaculous, under Installations. If you delete the folder manually, the installer still believes the application exists.
Frequent issues
- I can't find Fantastico in cPanel: it is no longer available. The current installer is Softaculous.
installed_in_root.phpdoes not appear: the domain does not have that marker. If the File Manager does not show hidden files, enable it in Settings.- Softaculous warns that the folder already has files: the previous site is still there. Install in a subfolder, or uninstall that application from Installations.
- I deleted the files manually and Softaculous still lists the application: remove it from Installations so it stops showing up.
If after deleting the file the installation still does not complete, open a ticket from the client portal or check the online chat on the site.
