Created
March 14, 2020 21:37
-
-
Save agajdosi/01ad20de63fd42d1084536a2afacf327 to your computer and use it in GitHub Desktop.
How to setup phabricator on Centos8 with Nginx.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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