Difference between revisions of "PHP-fpm (FastCGI Process Manager)"
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>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 | + | * <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]] |
* {{PHP}} | * {{PHP}} | ||
− | |||
− | |||
[[Category:web]] | [[Category:web]] | ||
+ | [[Category:PHP]] |
Latest revision as of 15:59, 14 September 2024
/etc/php/7.2/fpm/php-fpm.conf
/etc/php/7.*/fpm/pool.d/www.conf
/etc/php/7.2/fpm/php.ini
cat /etc/php/7.2/fpm/php-fpm.conf | grep -v ";" | grep .
Test configuration:
echo "<?php phpinfo(); ?>" | sudo tee /var/www/html/test_phpinfo.php && links http://localhost/test_phpinfo.php
Logs[edit]
Basic operations[edit]
Related terms[edit]
ps aux | grep 'php-fpm' and www-data user
fastcgi_pass
error_log = php_errors.log
- Metricbeat php_fpm module
/run/php/php7.2-fpm.sock
- FastCGI
- PHP pm:
pm.max_children
See also[edit]
- Mediawiki
- PHP,
php-fpm, www.conf
,php -i
, PHP sessions, symfony,fastcgi_pass
,sessionclean (shell script)
,phpsessionclean.service (systemd service),phpquery
,php.ini
,/var/log/php*
, PECL,php --help
, PHPUnit, Laravel, PHP framework, Composer,phpbrew, Xdebug, php --version
, PHP Fatal error, Hello, World! (php)]
Advertising: