10
how php/mysql is processed between client + server UNDERSTANDING THE PROCESS Author: Leigh Cotnoir WEB SERVER Apache takes request for file . . . then reads from file system Apache Service File System file. php engine processing URL request to find a webpage. The standard server port for http requests is 80, and MySQL service Returns HTML ... send back to browser newly loaded page Monday, June 21, 2010

how php/mysql is processed between client + server ...learn.leighcotnoir.com/wp-content/uploads/2012/01/php-process-explained.pdffile.php php engine processing URL request to find

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

  • how php/mysql is processed between client + server

    UNDERSTANDING THE PROCESS

    Author: Leigh CotnoirWEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.

    phpengineprocessing

    URL request to find a webpage. The standard server port for http requests is 80, and

    MySQL service

    ReturnsHTML...send backto browser

    newlyloadedpage

    Monday, June 21, 2010

  • something.com’sweb server

    WEB SERVER

    http://something.com

    Monday, June 21, 2010

    http://google.comhttp://google.com

  • something.com’sweb server

    WEB SERVER

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file

    Apache Service

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.phpURL request to find

    a webpage. The standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    MySQL service

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    MySQL service

    ReturnsHTML

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    MySQL service

    ReturnsHTML...send backto browser

    newlyloadedpage

    Monday, June 21, 2010