Wampserver localhost opens download file instead of website
Posted by: agosai (202.37.36.---)
Date: January 15, 2017 08:44PM

I got Wampserver 3.0.6 64 bit x64 installed on my windows 8 laptop. I backed up my Joomla website using Akeeba 5.2.5 (latest version) and then extracted it using kickstart.php. However, when I try to access my website on localhost, instead of taking me to my website, it simply downloads a file ?

In the past I have extracted many website like this until now. Has something changed ?

Options: ReplyQuote
Re: Wampserver localhost opens download file instead of website
Posted by: RiggsFolly (Moderator)
Date: January 15, 2017 09:21PM

Hi,

Downloads a file? Which file?

I do this all the time. It works. But I always create a Virtual Host to run the development version of the Jomla site in. Did you do that?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Wampserver localhost opens download file instead of website
Posted by: ciprianmp (---.iasi.rdsnet.ro)
Date: January 29, 2017 07:27PM

Hi,

Check httpd.conf (open it from Wamp Tray Menu/ Apache) for the DirectoryIndex block.
This is what I have there:

# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>

It might be that your joomla index page has an extension not listed.

Also check your joomla folder for any remaining .htaccess file - that you might not need on your own server or its content might conflict with your apache settings.

Ciprian M.

Options: ReplyQuote
Re: Wampserver localhost opens download file instead of website
Posted by: RiggsFolly (Moderator)
Date: January 30, 2017 09:54AM

Hi

Please read THE NEED for VIRTUAL HOSTS

This is doubly important when using a tool like JOOMLA or WordPress



Edited 1 time(s). Last edit at 01/30/2017 10:33AM by Otomatic.

Options: ReplyQuote
Re: Wampserver localhost opens download file instead of website
Posted by: elie22882 (94.187.0.---)
Date: November 22, 2020 09:12AM

I got the same issue only on google chrome only when opening the project using localhost.
On firefox, it is working well.
I close the browser completely and restart but still the same.
URL: [localhost]

So I created a virtual host for that and it is working fine with the above virtual host solution.
New URL: [gerlawfirm]

Options: ReplyQuote


Sorry, only registered users may post in this forum.