4 ms·
It takes very little effort in php. You simply have your index.php and any public assets in the document root and then use index.php as a bootstrap to bring up
by pmx 11y ago
It takes very little effort in php. You simply have your index.php and any public assets in the document root and then use index.php as a bootstrap to bring up your application. Everything else goes outside of the document root.
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]
- vog 11y agoYet, almost all well-known PHP applications don't have a public directory. And almost all non-PHP webapplications do have a public directory (e.g. practically all Python/Django and Ruby/Rails projects). So the connection to PHP is apparent till today, although it may have to do more with crappy super-cheap hosting providers than with the language itself.