David Pauli
David Pauli

Reputation: 89

Get php-fpm process information without curl

I want to get php-fpm information (like active processes) without doing the curl http://domain/status request.

Is there any way to do this?

Upvotes: 0

Views: 83

Answers (1)

Kapsonfire
Kapsonfire

Reputation: 1033

you could execute on shell....

exec('/etc/init.d/php7.2-fpm status');

http://php.net/manual/en/function.exec.php

Upvotes: 1

Related Questions