git (usually called "git" in package management systems)
Apache (usually "httpd" or "apache2") (or nginx)
MySQL Server (usually "mysqld" or "mysql-server")
PHP (usually "php")
Required PHP extensions: mbstring, iconv, mysql (or mysqli), curl, pcntl (these might be something like "php-mysql" or "php5-mysql")
Optional PHP extensions: gd, apc (special instructions for APC are available below if you have difficulty installing it), xhprof (instructions below, you only need this if you are developing Phabricator)
我的東西大部份都是部屬在 Apache 上這個也不例外。所以我加上 sub domain 相關的參數。
vim/etc/httpd/conf.d/httpd-vhosts.conf
<virtualhost>
# Change this to the domain which points to your host.
ServerName phabricator.example.com.tw
# Change this to the path where you put 'phabricator' when you checked it
# out from GitHub when following the Installation Guide.
#
# Make sure you include "/webroot" at the end!
DocumentRoot /path/to/phabricator/webroot
RewriteEngine on
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
<directory>
Order allow,deny
Allow from all
</directory>
</virtualhost>
It is followed by the repository callsign, and then a VCS-specific commit identifier (for SVN, the commit number; for Git and Mercurial, the commit hash)。