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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(26 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
  
:<code>/etc/php/7.2/fpm/[[php-fpm.conf]]</code>
+
* <code>[[/etc/php/]]7.2/fpm/[[php-fpm.conf]]</code>
:<code>cat /etc/php/7.2/fpm/php-fpm.conf | grep -v ";" | grep .</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>
  
  
Line 10: Line 19:
 
* <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 ==
 
== Basic operations ==
* <code>[[systemctl restart]] php7.2-fpm</code>
+
* <code>[[systemctl restart php7.2-fpm]]</code>
 
* <code>[[systemctl restart]] nginx</code>
 
* <code>[[systemctl restart]] nginx</code>
  
 
== Related terms ==
 
== Related terms ==
* [[ps]] aux | grep 'php-fpm' and www-data user
+
* <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]]
+
* [[Mediawiki]]
 
* {{PHP}}
 
* {{PHP}}
* {{nginx}}
 
 
  
 
[[Category:web]]
 
[[Category:web]]
 +
[[Category:PHP]]

Latest revision as of 15:59, 14 September 2024

Advertising: