How Do I Know What Php Extensions Are Installed Ubuntu?
Contents

The general command is php -m , which will show you a list of all “compiled” PHP modules. You can search for a specific PHP module for instance php-ftp , using the grep command.

How do you check which PHP extensions are installed?

Are you looking for a particular extension? In your phpinfo(); , just hit Ctrl + F in your web browser, type in the first 3-4 letters of the extension you’re looking for, and it should show you whether or not its loaded.

How do I check if a PHP module is enabled?

Related: Enabling / disabling installed php modules

Modules can be enabled/disabled via the php5enmod tool ( phpenmod on later distros) which is part of the php-common package.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest