If you attempt to install an application onto a subdomain the installation will fail with the following error…
! PHP for the selected domain has failed.
Installatron is unable to install to a domain where PHP is not working.
Reclaim Hosting can help you resolve this error.
Error code: 1; HTTP code: 500
What does this mean?
Generally when an application is already installed in the main directory, it causes conflicts with other application installations. (i.e. WordPress on subdomains.)
Add a file called .htaccess inside the directory you’re working in. In the .htaccess file, put the following on a separate line:
Typically .htaccess is a hidden file in cPanel File Manager by default. To view hidden files, click Settings on the top right in File Manager, check Show Hidden Files, click Save.
Now try reinstalling the application on the subdomain like normal.
See our Working with Installatron article for a comprehensive list of related Support articles.
For more information about .htaccess files, see our guide Understanding .htaccess.