If you are still having trouble, I hope I can explain it to you.
First, make the .php file and edit to test your code. Then move this file into the www directory where you installed WAMP. Turn on WAMP and left click on the task tray icon. Select localhost and it should load the index.php in the www folder. You can then access the other files by changing the part after
cPanel to something like
http://localhost/test.php