No, the client/browser is rarely on the same server as the PHP and database, and it is very common for the PHP/application layer to be on a different machine to the database.
General developer forum
Resubmit: Is moodle 3-tier based system architecture ???
This discussion has been locked so you can no longer reply to it.