We need to create a folder in xampp server. I am going to the local server (C /Drive ) then going to xampp server. Here at htdocs. Then here we will create a project folder that will run on the server.
I will need a text editor I am using Visual studio code you can use notepad, notepad++, sublime text anything.
Then Visual Studio Code has to be opened. After that open folder cmp has to go there location me c/drive/xampp/htdocs/ after that select project folder cmp. Here my project folder has been opened.
Here we create a file index.php and write the code of the PHP in it. And if we need to start the server, then we have to go to Windows Search and search xampp. After that open it and start the Apache server.
After this, we have to run on the tube, for that we have to do a few searches in the search in Windows Manu and open the Run Administrator.