Your Question: How Do I Know What Php Modules Are Installed on 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 I tell what version of PHP is installed on Ubuntu?

Checking and printing PHP version installed on your Linux and Unix server

  1. Open the terminal prompt and then type the following commands.
  2. Login to the server using the ssh command. …
  3. Display PHP version, run: php –version OR php-cgi –version.
  4. To print PHP 7 version, type: php7 –version OR php7-cgi –version.

Where are PHP extensions located?

PHP extensions are usually called “php_*. dll” (where the star represents the name of the extension) and they are located under the “PHPext” folder. PHP ships with the extensions most useful to the majority of developers. They are called “core” extensions.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest