Skip to content

Instantly share code, notes, and snippets.

@agajdosi
Created March 14, 2020 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agajdosi/01ad20de63fd42d1084536a2afacf327 to your computer and use it in GitHub Desktop.
Save agajdosi/01ad20de63fd42d1084536a2afacf327 to your computer and use it in GitHub Desktop.
How to setup phabricator on Centos8 with Nginx.
What diverts from the official manual:
Install phabricator into: `/var/www/html`
- other locations conflicts with selinux, causes `file not found` errors
By default the php-fpm listens on unit socket, this causes `bad gateway error`, to fix:
- configure php-fpm to listen on port 9000, config at: `/etc/php-fpm.d/www.conf`
- configure nginx in `/etc/nginx/nginx.conf` to pass to unix socket, its location is: `unix:/run/php-fpm/www.sock`
- start and enable php-fpm: `systemctl start php-fpm`, `systemctl enable php-fpm`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment