# urbestack-php-ext-list

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-php-ext-list [--version 8.4] [--on | --off] [--q TEXT] [--pretty]
```

## Description

Lists the PHP extension catalog for this server's distribution and shows each extension's state for every installed PHP version. For each extension, it shows what it does, the module names reported by php -m, any additional modules it provides, and whether it is in UrbeStack's default extension set.

For separately packaged extensions, on and off indicate whether the package is installed. A state of none means the repositories carry no package for that version. The states core, common and base mean the extension is built into PHP, supplied by its common package or included in its base packages, respectively. These extensions cannot be turned off. An extension can be available for PHP 8.3 and absent from PHP 8.4.

Use --version to limit the report to one installed version. In the versions shown, --on keeps extensions with a package installed for at least one version, and --off keeps separately packaged extensions with no package installed for any version. Use --q to match text anywhere in an extension name or a module name it provides. Matching is case-insensitive and the text can be up to 64 characters.

Use urbestack-php-ext-set to turn an extension on or off.

## Same in the API

- [GET /php/extensions](https://urbestack.com/docs/api/get-php-extensions.md): List the PHP extension catalog and each installed version's extension states
- [POST /php/extensions/{name}](https://urbestack.com/docs/api/post-php-extensions-name.md): Queue a job to turn a PHP extension on or off

## Command family: php

- [urbestack-php-ext-set](https://urbestack.com/docs/commands/urbestack-php-ext-set.md): Turns one extension in the PHP extension catalog on or off for one or more installed PHP versions.
- [urbestack-php-install](https://urbestack.com/docs/commands/urbestack-php-install.md): Sets up the PHP package source and installs the base packages and default extensions for the selected PHP versions.
- [urbestack-php-list](https://urbestack.com/docs/commands/urbestack-php-list.md): Lists every PHP version known to UrbeStack with its upstream support status and the date its security fixes end.
- [urbestack-php-move](https://urbestack.com/docs/commands/urbestack-php-move.md): Moves selected domains to a different PHP version or changes whether they follow the server default.
- [urbestack-php-notify](https://urbestack.com/docs/commands/urbestack-php-notify.md): Emails owners of selected domains running PHP versions whose security support has ended or ends in fewer than 120 days.
- [urbestack-php-pool-list](https://urbestack.com/docs/commands/urbestack-php-pool-list.md): Lists domain pools that reached their PHP-FPM child process limit (pm.max_children) in the last 14 days, ordered by warning count with the highest first.
