Reputation: 89
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
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