CentOS Server Config

From Colettapedia
Revision as of 19:20, 26 September 2019 by Colettace (talk | contribs) (Created page with " ==References== * [https://www.linode.com/docs/web-servers/nginx/serve-php-php-fpm-and-nginx/ Serve PHP with PHP-FPM and NGINX] ==Components== * CentOS 7 * nginx ==Impor...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

References

Components

Important files

  • TBD: set up a tmux that opens up all of these automatically

Config files

  • /etc/nginx/nginx.conf
  • /etc/php-fpm.d/www.conf
  • /etc/php.ini

Log files

  • /var/log/

Steps

  • Change the listen variables in /etc/php-fpm.d/www.conf to match with the nginx child processes users
    • systemctl restart php-fpm


Troubleshooting

  • systemctl status php-fpm