linux查看nginx、apache、php、php-fpm、mysql及配置项所在目录

2018-12-26 21:19:30 7824


which  mysql

/usr/bin/mysql

/usr/bin/mysql --help | grep -A1 'Default options'


which php

/usr/local/apache2/php/bin/php

/usr/local/apache2/php/bin/php -i | grep "Loaded Configuration File"



ps -ef | grep 'http'

/usr/local/apache2/bin/httpd -V | grep 'SERVER_CONFIG_FILE'



ps -ef | grep 'nginx'



ps -ef | grep 'php-fpm'


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: