XVWA is hassle-free to setup. You can set this up on windows, linux or Mac. Following are the basic steps you should be doing on your Apache-PHP-MYSQL environment to get this working. Let that be WAMP, XAMP or anything you prefer to use.
Copy the xvwa folder in your web directory. Make sure the directory name remains xvwa itself. Make necessary changes in xvwa/config.php for database connection. Example below:
$XVWA_WEBROOT = '';
$host = "localhost";
$dbname = 'xvwa';
$user = 'root';
$pass = 'root';
Make following changes in PHP configuration file.
file_uploads = on
allow_url_fopen = on
allow_url_include = on
Access the application on : http://localhost/xvwa/
Setup the database and table by accessing http://localhost/xvwa/setup/
The login details