Difference between revisions of "PHP-fpm (FastCGI Process Manager)"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* <code>[[/etc/php/]]7.2/fpm/[[php-fpm.conf]]</code> | * <code>[[/etc/php/]]7.2/fpm/[[php-fpm.conf]]</code> | ||
* <code>/etc/php/7.2/fpm/[[php.ini]]</code> | * <code>/etc/php/7.2/fpm/[[php.ini]]</code> | ||
+ | |||
+ | * <code>[[php-fpm --help]]</code> | ||
+ | |||
Revision as of 18:26, 28 July 2021
/etc/php/7.2/fpm/php-fpm.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
/var/log/php7.2-fpm.log
Basic operations
systemctl restart php7.2-fpm
systemctl restart nginx
Related terms
ps aux | grep 'php-fpm' and www-data user
fastcgi_pass
See also
- 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)] - Web server: Nginx:
/etc/nginx/nginx.conf
,nginx -t
, Nginx logs, Nginx change log, PHP,php-fpm
, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy)
,ngx_http_rewrite_module
,/etc/nginx/sites-enabled/
,error.log
,access.log
,/nginx status
, AIO
Advertising: