PHP Extensions Install
macOS & Linux
FlyEnv provides quick installation of php extensions


You can also use the pecl command to install php extensions
Click or copy the path. cd to the path in the terminal

Install php xdebug extension
./bin/pecl install xdebug
Windows
The extension panel provides quick installation on Windows:
- Online catalog: open Extensions from the PHP version you plan to use. FlyEnv shows available releases and uses a compatible Windows PECL DLL or PIE, depending on the package. The PIE installer FlyEnv downloads targets x64 Windows.
- Bundled extensions: the extension folder contains most common extensions by default. PHP does not enable them automatically — enable or disable them directly in the panel and FlyEnv updates
php.inifor you.

For manual installation, use a DLL from PECL that matches the PHP release, architecture, and thread safety (TS/NTS). Place it in the selected version’s extension_dir and enable it in that version’s configuration. The PHP manual explains Windows DLL compatibility.
Verify the extension on the selected PHP version
Run these commands with the executable for the PHP version you changed. If multiple versions are installed, use the full path to that version’s php or php.exe in place of php.
php --ini
php -mCheck the loaded INI path and look for the module in the list. If PHP prints a startup warning, check the extension binary, its dependencies, and the INI directive. For a website, restart the selected web worker from FlyEnv’s PHP-FPM module and verify the extension inside the site. The CLI output only describes the CLI process.