Difference between revisions of "PHP-fpm (FastCGI Process Manager)"

From wikieduonline
Jump to navigation Jump to search
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
[[wikipedia:PHP#PHPFPM]]
  
:<code>/etc/php/7.2/fpm/php-fpm.conf</code>
+
 
 +
* <code>[[/etc/php/]]7.2/fpm/[[php-fpm.conf]]</code>
 +
* <code>[[/etc/php/7.*/fpm/pool.d/www.conf]]</code>
 +
* <code>/etc/php/7.2/fpm/[[php.ini]]</code>
 +
 
 +
* <code>[[php-fpm -i]]</code>
 +
* [[/usr/sbin/php-fpm7.2]]
 +
* <code>[[php-fpm --help]]</code>
 +
 
 +
 
 +
 
 +
:<code>cat [[/etc/php/7.2/fpm/php-fpm.conf]] | grep -v ";" | grep .</code>
  
  
  
 
Test configuration:
 
Test configuration:
* <code> echo "<?php phpinfo(); ?>" | sudo tee /var/www/html/test_phpinfo.php && links http://localhost/test_phpinfo.php</code>
+
* <code> echo "<?php phpinfo(); ?>" | sudo tee /var/www/html/test_phpinfo.php && [[links]] http://localhost/test_phpinfo.php</code>
  
  
 +
== Logs ==
 +
* <code>[[/var/log/php7.2-fpm.log]]</code>
  
 +
== Basic operations ==
 +
* <code>[[systemctl restart php7.2-fpm]]</code>
 +
* <code>[[systemctl restart]] nginx</code>
 +
 +
== Related terms ==
 +
* <code>[[ps]] aux | grep 'php-fpm' and www-data user</code>
 +
* <code>[[fastcgi_pass]]</code>
 +
* <code>error_log = [[php_errors.log]]</code>
 +
* [[Metricbeat]] [[php_fpm module]]
 +
* <code>[[/run/php/php7.2-fpm.sock]]</code>
 +
* [[FastCGI]]
 +
* [[PHP pm]]: <code>[[pm.max_children]]</code>
  
 
== See also ==
 
== See also ==
 +
* [[Mediawiki]]
 
* {{PHP}}
 
* {{PHP}}
* {{nginx}}
+
 
 +
[[Category:web]]
 +
[[Category:PHP]]

Latest revision as of 15:59, 14 September 2024

Advertising: