© Christopher Pitt 2021
C. PittPro PHP 8 MVChttps://doi.org/10.1007/978-1-4842-6957-2_1

1. Ways to Use PHP

Christopher Pitt1  
(1)
Verbena Close 1, Stellenberg, Durbanville, Cape Town, South Africa
 
Let’s talk about a few different ways to use PHP. The main ones you’re likely to encounter are
  • Running scripts inside a web server, to make websites

  • Running scripts from the command line/terminal

Let’s look at a few variations of these. With the exception of coding on the go, I’m not going to go too deep into the setup. By the time you get your hands on this book, instructions like that are likely to be out of date.

You’re better off searching for something like “how do I install PHP on [your operating system here]”…

Running Scripts in the Terminal

Have you ever ...

Get Pro PHP 8 MVC: Model View Controller Architecture-Driven Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.