Difference between revisions of "CentOS Server Config"
Jump to navigation
Jump to search
(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...") |
|||
Line 22: | Line 22: | ||
* Change the listen variables in /etc/php-fpm.d/www.conf to match with the nginx child processes users | * Change the listen variables in /etc/php-fpm.d/www.conf to match with the nginx child processes users | ||
** systemctl restart php-fpm | ** systemctl restart php-fpm | ||
+ | * Make sure /var/lib/php/session directory is group is nginx | ||
==Troubleshooting== | ==Troubleshooting== | ||
* systemctl status php-fpm | * systemctl status php-fpm |
Revision as of 20:01, 26 September 2019
Contents
References
Components
- CentOS 7
- nginx
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
- Make sure /var/lib/php/session directory is group is nginx
Troubleshooting
- systemctl status php-fpm