cached files
Posted by: billmcf (---.hsd1.wa.comcast.net)
Date: November 17, 2017 12:55AM

I installed wamp64 to C:/wamp64. Site folder is C:\wamp64\www\Amp. The files in Amp were created using Dreamweaver. I added an index.php file to the Amp folder.When I open a file using wampserver, the file is being saved in the main wamp64 folder as C:\wamp64\filename. The problem is, every time I make a change to a file, the server loads the old saved file and I have to refresh to see the new file; then that file is saved and served the next time. Is there a way I can stop wampserver from saving files to the wamp64 folder?

wampserver version 3.1.0 - 64 bit for Windows 7
PHP 5.6.31
Apache 2.4.27
phpMyAdmin 4.7.4
Dreamweaver CS6

Options: ReplyQuote
Re: cached files
Posted by: Otomatic (Moderator)
Date: November 17, 2017 09:29AM

Hi,

It's a Dreamweaver problem, it's Dreamweaver that backs up your files, not Wampserver.
If the files are found in C:\wamp64\filename, the Dreamweaver settings say that you have to save to this folder.

On the other hand, if you want to avoid future problems, you should use VirtualHost for your local sites. See The need for Virtual Host

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.2.0/7.1.12/7.0.26/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.2.0/7.1.12/7.0.26/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



Edited 1 time(s). Last edit at 11/17/2017 09:46AM by Otomatic.

Options: ReplyQuote
Re: cached files
Posted by: billmcf (---.hsd1.wa.comcast.net)
Date: November 22, 2017 05:08PM

Thank you Otomatic!

I setup a virtual Host as you recommended and everything is good.

Billmcf

Options: ReplyQuote


Sorry, only registered users may post in this forum.