Heim  >  Artikel  >  Backend-Entwicklung  >  php-fpm - 如何查看运行中的php_fpm的配置文件路径?

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

WBOY
WBOYOriginal
2016-06-06 20:23:083929Durchsuche

如题,请高手指教;

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的配置文件路径?

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn