Homec4science

Added compatibility with PHP 5.4+ built-in webserver

Authored by Grigory <grigory.v.p@gmail.com> on Jul 25 2012, 15:05.

Description

Added compatibility with PHP 5.4+ built-in webserver

Phabricator requires mod_rewrite rule to emulate "routing"
interface between web server and PHP aplication. Since PHP 5.4 where
is built-in web server that can be invoked with
"PHP -S 127.0.0.1:8000", but since it's very simple it don't have
mod_rewrite functionality. But it have routing functionality if .php
file is given via command-line - so this simple fix allows to
use PHP 5.4+ built-in web server to start Phabricator. Useful for
hacking, developing and testing. Use like this:

"php -S 127.0.0.1:8000 ~/Documents/phabricator/webroot/ ~/Documents/phabricator/webroot/index.php"

Details

Committed
Grigory <grigory.v.p@gmail.com>Jul 25 2012, 15:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPH1970ceefe3d4: Compute reviewer stats
Branches
Unknown
Tags
Unknown

Event Timeline

Grigory <grigory.v.p@gmail.com> committed rPHe55d4d7aab14: Added compatibility with PHP 5.4+ built-in webserver (authored by Grigory <grigory.v.p@gmail.com>).Jul 25 2012, 15:05