Move the MySQL data directory from one folder to another and make sure that all the configurations are updated.
Install MCrypt for PHP on Windows
How to enable mcrypt/libmcrypt for PHP on a windows webserver. Also explain how to create a phpinfo file to get the website values.
Install, Apache, php and MySQL on Windows
Install Apache, PHP and MySQL on a windows box for development.