First download php
In link download the latest version of php, download the first file that is a zip and extract into a folder in this example I will extract it into a folder with the name php, which I created in c:
Look for a file named php.ini-development and rename it to php.ini
Now add php to environment variables
Right click on my computor and choose properties,
in the screen that opens enter in advanced settings of the system, will open another screen, in the Advanced tab click environment variables, the screen that opens, in system variables, select Patch and click edit, in this other screen click new and put the C: \ php or the path that you extracted the zip from php, you can also use the browse button
For those who are using another version of windows, other than the 10. I tried to "add environment variable in windows 8/7 / xp"
Well, your php is already installed on windows!
Now only the server is missing
In the case of a development environment, you do not need to install apache, the current version of PHP already brings a built-in server.
Create a www folder in c: or any other place, then navigate to that folder by cmd and run the command php -S localhost: 8080
Ready your serving is already rolling! Just place your files in this folder and access it by the localhost address: 8080
If you're not going to use a database, that's enough to start developing
Accessing mysql
In the case of mysql, I will not put a step-by-step link to the installation, I believe that most of you find in google, which is not the installation, but access mysql after installation .
One thing is to install the server, another is to install a client to access the mysql server, which would be the access interface.
After installing mysql I recommend using heidi SQL, which is very simple, light and free
link
With heidi open, just put localhost in the hostname field and your username and password you chose in the mysql installation in the fields below.
That's right, your essential development environment is ready.