RU beehive logo ITEC dept promo banner
ITEC 325
2020fall
ibarland

running php via the web
(served by, say, itec-php01.radford.edu)

Reminder: We previously saw a review of essential linux/unix commands, how to connect to rucs, and how to run php programs from the command line. You should be familiar with those, before proceding.

Running a php file via the web

Video: running php via web (23m26s)

Recall that when a web-server gets a request, it decides how to respond. For itec-php01.radford.edu, some of the configuration rules:

Let's put our php program on the web!

Here is a quick check-list of common problems, if you try running your program via the web but get an error:


1 Setting everything to 755 also marks all your data-files as being executable. Even .php programs aren't actually executable files; they are read by the interpreter, rather than being callable directly.      

logo for creative commons by-attribution license
This page licensed CC-BY 4.0 Ian Barland
Page last generated
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Rendered by Racket.