Research Documentation 03 Local Php

Research Documentation 03 Local Php

Local PHP

Local PHP

One way that you can run PHP locally is with a web development tool. XAMPP is a tool created by Apache that allows you to run PHP locally, you have to instal the server on Windows, Linux, or OS, then follow the insatllation instrucions. Once you have done that you have to go into the browser and type "localhost/filename", then it will show you all of your htdocs.

Local PHP

Another way that you can run PHP locally is by using the command line. You need to find the php.exe file and then you need to provide the PHP file that you want to excute from the command line interface.

Local PHP

The third option is some text editors have built in systems you can use. For example, Atom has a built in system and all you have to do in press cmd + I or Ctrl I, the nyou can set it up with a few keys.

Summary of the Documentation

Overall after what I have found it seems that the best option to run PHP locally on your computer is by using one of the many development tools. They are the easiest to set up and seems to be the most common way to run it. The command function seems to need a bit more work to get it running, so it would not be as efficent.