Wamp Server + Dropbox (Sync PHP file and MySQL Database)

  1. Setup and install Wamp Server.
  2. Create two folders in your Dropbox account: www and database.
  3. Left click on your WAMP icon, scroll over Apache and click on httpd-vhosts.conf file.
  4. 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/”>
  5. Left click on your WAMP icon, scroll over Apache and click on httpd.conf file.
  6. Locate the DocumentRoot declaration around line 230. Change it to
    DocumentRoot “C:/Users/Dino Cajic/Dropbox/wamp/www”
  7. Next you’ll need to sync your database. Go to C:/wamp64/bin/mysql/mysql5.7.19/data.