Homestyx hydra
Diffusion hydra e55d4d7aab14

Added compatibility with PHP 5.4+ built-in webserver

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

Provenance
GrigoryAuthored on Jul 25 2012, 9:05 AM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:1970ceefe3d4: Compute reviewer stats
Branches
Unknown
Tags
Unknown

Event Timeline