Home > Backend Development > PHP Tutorial > php-fpm - 如何查看运行中的php_fpm的配置文件路径?

php-fpm - 如何查看运行中的php_fpm的配置文件路径?

WBOY
Release: 2016-06-06 20:23:08
Original
4012 people have browsed it

如题,请高手指教;

PS:使用ps -ef|grep php-fpm的结果为:

"501 1303 1 0 24Nov15 ?? 0:20.57 php-fpm -D"

回复内容:

如题,请高手指教;

PS:使用ps -ef|grep php-fpm的结果为:

"501 1303 1 0 24Nov15 ?? 0:20.57 php-fpm -D"

第一种方法:通过phpinfo()

php-fpm - 如何查看运行中的php_fpm的配置文件路径?

第二种方法:命令查找

php-fpm - 如何查看运行中的php_fpm的配置文件路径?


题主在我的评论要求命令行查找php-fpm.conf:

php-fpm - 如何查看运行中的php_fpm的配置文件路径?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template