Start Apache and MySQL and if you want test your mail send option then you need to start Mercury.
Now you need to go server folder Click Explore on your XAMPP control panel.
Download Netbeans for only php.install your pc and open.
Go to File->New project->php application->name of your project and select your htdocs folder..and finish.
echo ‘Hello world’;
below picture write here you can write any notepad or any text editor when you save your php code save it .php mode..
Like index.php and save it your htdocs folder.