Site Restoration

#39797 index.php is downloaded instead of opening the site after kickstart migration

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
CMS Type
CMS Version
Backup Tool Version
8.3.3 Pro
Kickstart version

Latest post by nicholas on Monday, 13 November 2023 01:26 CST

[email protected]


I was having issues upgrading a joomla site from 3.10.12 to 4.4.0

Every time I try to complete the upgrade the JS console alert "ERROR: Could not open /LICENSE.txt for writing" shows up and stops the installer.

Despite changing the LICENSE.txt file to 777 and using Admin tools to check permissions etc  I still could not get past this error so cannot upgrade the site on that server.

I therefore decided to move the site to another server complete the migration there and then move the migrated site back to the live server.


After moving the .jpa file and kickstart.php file and going through the installer the site wont load via the domain, instead it downloads the index.php file.

I have tried clearing the cache,disabling the.htaccess file / php.ini file and replacing with a standard joomla htaccess file but nothing seems to work.

No errors are showing on debug = 1 in configuration.php

Appreciate any help you can provide.

Akeeba Staff

This has to be an issue in the .htaccess file, namely an AddHandler or SerHandler directive which is incompatible with the new host. That's really the only user-configurable thing which can break parsing PHP files as executable code and have them delivered as text files.

Also keep in mind that on some servers the change to the .htaccess file may not be applied immediately, but take a few seconds to minutes to be applied.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!