Determine which php application server running nextcloud

This is a nooby question.

I’m troubleshooting an existence instance of Nextcloud on apache. Is there an easy way to tell which php application server is running Nextcloud?

Thanks in advance.

Open the PHP info page, or create one on the server to get the main PHP parameter displayed. See e.g. How to Create phpinfo File and Check PHP Information

Thanks J-ed for such a quick response. I was expecting to see uwsgi or php-fpm listed somewhere on this page but I cant seem to make out what application server is actually running Nextcloud. Could you point me to the property on the php info page that tells me which application server is being used?

This Nextcloud instance was originally created before version 13, so I’m trying to make sure it’s running correctly with correct accounts and permissions.

Thanks again.

Try from the terminal:

php -v

Thanks just.

That gives me:

PHP 8.1.12 (cli) (built: Oct 29 2022 06:54:56) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.12, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies

PHP FPM used:


Apache2 PHP module used:


Thank you, J-ed! That solves it for me.