Tom qab ntawd peb yuav tsum ua kom yuam kev log thiab txhais cov ntaub ntawv yuam kev qhov chaw: php_admin_value[error_log]=/var/log/php/fpm-error. log.
php-fpm nyob qhov twg?
conf file yuav tsum nyob hauv /etc/php/7.2/fpm/pool.
FPM log yog dab tsi?
Lub FPM yuam kev log (fpm-error. log) records infrastructure-level issues with FPM's process management in PHP. Nws muaj feem cuam tshuam nrog FPM nkag nkag, uas sau tag nrho cov lus thov rau PHP, thiab PHP yuam kev log, uas sau cov ntawv thov-theem teeb meem ntsib thaum ua kev thov.
Kuv yuav kuaj php-fpm li cas?
Ua ntej qhib cov ntaub ntawv php-fpm teeb tsa thiab qhib cov nplooj ntawv xwm txheej raws li qhia. Nyob rau hauv cov ntaub ntawv no, nrhiav thiab uncomment qhov sib txawv pm. status_path=/status raws li qhia hauv lub screenshot. Txuag cov kev hloov pauv thiab tawm hauv cov ntaub ntawv.
Qhov system PHP-FPM yog dab tsi?
Kev piav qhia. PHP-FPM (FastCGI Process Manager) yog qhov lwm yam PHP FastCGI kev siv. PHP-FPM muaj qhov tshwj xeeb uas tso cai rau teeb tsa nplooj ntawv xwm txheej los saib qhov xwm txheej ntawm PHP-FPM pas dej, teeb tsa siv qhov kev xaiv pm. status_path. Ntawm tus neeg rau zaub mov no PHP-FPM Status Nplooj ntawv tuaj yeem siv tau rau pej xeem.