This guide installs Phabricator on a typical LAMP/LEMP stack.
Install the web server, PHP runtime, and database server required by Phabricator.
Clone the Phabricator repositories into a directory such as /opt/phabricator.
git clone https://github.com/phacility/libphutil.git
git clone https://github.com/phacility/arcanist.git
git clone https://github.com/phacility/phabricator.git
Create a database and user for Phabricator.
mysql -u root -p -e "CREATE DATABASE phabricator;"
mysql -u root -p -e "CREATE USER 'phab'@'localhost' IDENTIFIED BY 'change-me';"
mysql -u root -p -e "GRANT ALL PRIVILEGES ON phabricator.* TO 'phab'@'localhost';"
Use the bin/storage script to initialize the schema.
cd phabricator
./bin/storage upgrade --force
Configure your web server to point at the phabricator/webroot directory and access the UI via your browser.
See Phabricator Configuration for configuration guidance.
See Phabricator Security for hardening guidance.
Prefer automation? See Phabricator Ansible Setup for an example playbook.
Prefer containers? See Phabricator Docker Setup.
Stuck on a step or need custom configuration? We provide paid consulting for Phabricator deployments, from basic setups to enterprise configurations.