Skip to content

Glossary: PHP Basics

public folder (web root)

Also written: public, web root

The only folder served to browsers, so class files and the database file kept outside it can't be opened by URL. On shared hosting you upload `public/` as the web root.

Where the book teaches it

Related terms

shared hostingbuilt-in web server