Wamp Server + Dropbox (Sync PHP file and MySQL Database)
- Setup and install Wamp Server.
- Create two folders in your Dropbox account: www and database.
- Left click on your WAMP icon, scroll over Apache and click on httpd-vhosts.conf file.
- Edit the following lines and replace them with your www location
DocumentRoot “C:/Users/Dino Cajic/Dropbox/wamp/www”
<Directory “C:/Users/Dino Cajic/Dropbox/wamp/www/”>
- Left click on your WAMP icon, scroll over Apache and click on httpd.conf file.
- Locate the DocumentRoot declaration around line 230. Change it to
DocumentRoot “C:/Users/Dino Cajic/Dropbox/wamp/www”
- Next you’ll need to sync your database. Go to C:/wamp64/bin/mysql/mysql5.7.19/data.