Fix issue with Shebang for web server
caseyamcl opened this issue · comments
The PHAR needs a sehbang line to work as intended in CLI mode, but the shebang breaks web output. So, the best option I believe is to never use the PHAR itself to serve pages.
Instead, include a CLI option to build an index.php
that handles requests.. In the init
script, we can also add an option to include the index.php
.