User Tools

Site Tools


servers:linux:nginx_php_php-fpm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:linux:nginx_php_php-fpm [2025/04/25 00:57] Sean Rhoneservers:linux:nginx_php_php-fpm [2025/04/25 01:12] (current) – [php-fpm] Sean Rhone
Line 48: Line 48:
 ===== php-fpm ===== ===== php-fpm =====
  
-****+  2025/04/25
  
   sudo setsebool -P 'httpd_execmem' '1'   sudo setsebool -P 'httpd_execmem' '1'
Line 54: Line 54:
 ===== DokuWiki ===== ===== DokuWiki =====
  
 +  * [[servers:linux:nginx:dokuwiki]]
   * 2025/04/25   * 2025/04/25
  
Line 65: Line 66:
  
   sudo setsebool -P 'httpd_can_network_relay' '1'   sudo setsebool -P 'httpd_can_network_relay' '1'
 +
 +===== Global restorecon =====
 +
 +****
 +
 +  sudo restorecon -F -I -R '/etc/nginx' '/etc/php8/fpm/php-fpm.d' '/srv/www'
  
 ====== Services ====== ====== Services ======
Line 88: Line 95:
   nano '/etc/nginx/nginx.conf~'   nano '/etc/nginx/nginx.conf~'
  
-===== Backup ===== +===== php.ini =====
- +
-  sudo mv '/etc/nginx/default.d/php.conf' '/etc/nginx/default.d/php.conf~' +
- +
-  sudo mv '/etc/nginx/conf.d/php-fpm.conf' '/etc/nginx/conf.d/php-fpm.conf~' +
- +
-===== View ===== +
- +
-  nano '/etc/nginx/default.d/php.conf~' +
- +
-  nano '/etc/nginx/conf.d/php-fpm.conf~'+
  
-  nano '/etc/php.ini'+  nano '/etc/php8/cli/php.ini'
  
 ====== nginx Settings ====== ====== nginx Settings ======
/srv/www/wiki/data/attic/servers/linux/nginx_php_php-fpm.1745557079.txt.gz · Last modified: by Sean Rhone