faqts : Computers : Programming : Languages : PHP : General Information : About PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 74 people (12%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

I am new to PHP. What is the architecture of PHP? How the server serves the PHP pages?

Jul 23rd, 2001 04:56
Andi T, Esh Krish,


PHP can work as a web server module or as CGI application. You have to 
configure the web server to treat certain files like PHP scripts, let's 
say, all the files with the extension .php. The configuration differs 
from server to server.
Before the web server sends a .php file it executes the scripts found 
inside it and then sends the output to the browser.