PHP is a server scripting language. For this reason, it is not executing on your PC without a server environment. So, make sure to have a server or hosting service before get started with PHP. You can do it easily without spending a single penny by installing free server software that can turn your computer into a mini server. Here I list up some Essential things that are required to get started with PHP:
- Notepad++ or Any Code Editor
- A Web Hosting service or server
We are going through a server installing process for windows users but before that, here are some suggestions for non-windows users:
For Apple User:
If you are using Mac OS X operating system, then find the solution from following sites to run PHP on your PC:
They offer an Apache server to turn your computer into a mini server. What you need to do is to be attentive to their tutorials and follow the particular instruction to store the files and “localhost.”
For Linux Users:
Linux is a free operating system. That is why the server platform for Linux is very rare. However, some websites can help you to get started with Linux. Check out the following websites to find a solution for the Linux server.
For Windows Users:
It is the most popular operating system in the world, so you can get much software to work with the server scripting language. To turn your computer into a windows server, let’s get started with the WAMP installation process:
Read the instructions to download and install WAMP Server. There is also a forum, where you can ask any questions to solve any problems.