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:48] – [nginx] Sean Rhoneservers:linux:nginx_php_php-fpm [2025/04/25 01:12] (current) – [php-fpm] Sean Rhone
Line 45: Line 45:
  
 ====== SELinux ====== ====== SELinux ======
 +
 +===== php-fpm =====
 +
 +  * 2025/04/25
 +
 +  sudo setsebool -P 'httpd_execmem' '1'
  
 ===== DokuWiki ===== ===== DokuWiki =====
  
-  * 2023/09/12+  * [[servers:linux:nginx:dokuwiki]] 
 +  * 2025/04/25 
 + 
 +  sudo setsebool -P 'httpd_can_network_connect' '1' 
 + 
 +===== Other =====
  
   sudo setsebool -P 'httpd_graceful_shutdown' '1'   sudo setsebool -P 'httpd_graceful_shutdown' '1'
  
   sudo setsebool -P 'nis_enabled' '1'   sudo setsebool -P 'nis_enabled' '1'
- 
-  sudo setsebool -P 'httpd_can_network_connect' '1' 
  
   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 80: 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.1745556527.txt.gz · Last modified: by Sean Rhone