Research & Documentation 03 Local Php
Technique 1
One way to run PHP locally on a computer is by installing MAMP. It can be used on Windows or Mac. It also has a free version along with a paid pro version.
Technique 2
XAMPP is another way to run PHP locally on a computer. It has a free download option and can be used for Windows or Mac.
Technique 3
Laragon is another option to run PHP locally. It has a free download option, but it appears it is only compatible with Windows.
Summary
Overall, there are several ways to run PHP locally. Benefits of running PHP locally include being able to quickly edit and test code. Developers are also able to work without an internet connection if they're in a spot where receiption is not good. However, there are also some disadvantages of running PHP locally. Running PHP locally is still not a true representation of how the code would run on a real server. There could still be some errors on the real server that did not appear when testing locally.