codeguy / php-the-right-way

An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web

Home Page:https://www.phptherightway.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Root vs DocumentRoot - php -S and /public folder

benrobot opened this issue · comments

The site currently mentions "Web Root" twice and "DocumentRoot" twice. It says that one should run php -S localhost:8000 from the "Web Root".

Is the "Web Root" the same as the "DocumentRoot" (which is recommended to be the /public folder?