您好,欢迎访问一九零五行业门户网

如何查看php安装模块

查看php安装模块的方法:首先进入命令窗口;然后输入命令“php -m”并执行;最后查看php已安装的模块即可。
推荐:《php视频教程》
ubuntu 查看php已安装扩展及相关软件包
查看php已安装扩展
$ php -m[php modules]bcmathbz2calendarcorectypecurldatedomexiffileinfofilterftpgdgettexthashiconvigbinaryjsonlibxmlmbstringmemcachedmsgpackopensslpcntlpcrepdopdo_pgsqlpgsqlpharposixreadlineredisreflectionsessionshmopsimplexmlsocketssodiumsplstandardsysvmsgsysvsemsysvshmtokenizerwddxxmlxmlreaderxmlwriterxslzend opcachezipzlib[zend modules]zend opcache
查看安装php相关软件包:
$dpkg -l | grep 'php'ii libapache2-mod-php7.2 7.2.15-0ubuntu0.18.04.2 amd64 server-side, html-embedded scripting language (apache 2 module)ii php 1:7.2+60ubuntu1 all server-side, html-embedded scripting language (default)ii php-auth-sasl 1.0.6-3 all abstraction of various sasl mechanism responsesii php-cli-prompt 1.0.3+dfsg-1 all tiny helper prompting for user inputii php-common 1:60ubuntu1 all common files for php packagesii php-composer-ca-bundle 1.1.0-1 all utility library to find a path to the system ca bundleii php-composer-semver 1.4.2-1 all utilities, version constraint parsing and validationii php-composer-spdx-licenses 1.3.0-1 all spdx licenses list and validation libraryii php-igbinary 2.0.5-1build1 amd64 igbinary php serializerii php-json-schema 5.2.6-1 all implementation of json schemaii php-mail 1.3.0-1 all class that provides multiple interfaces for sending emailsii php-memcached 3.0.1+2.2.0-1build2 amd64 memcached extension module for php, uses libmemcachedii php-msgpack 2.0.2+0.5.7-2build1 amd64 php extension for interfacing with messagepackii php-net-smtp 1.8.0-1 all php pear module implementing smtp protocolii php-net-socket 1.0.14-2 all network socket interfaceii php-pear 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1 all pear base systemii php-psr-log 1.0.2-1 all common interface for logging librariesii php-redis 3.1.6-1build1 amd64 php extension for interfacing with redisii php-symfony-console 3.4.6+dfsg-1ubuntu0.1 all run tasks from the command lineii php-symfony-debug 3.4.6+dfsg-1ubuntu0.1 all tools to make debugging of php code easierii php-symfony-filesystem 3.4.6+dfsg-1ubuntu0.1 all basic filesystem utilitiesii php-symfony-finder 3.4.6+dfsg-1ubuntu0.1 all find files and directoriesii php-symfony-polyfill-mbstring 1.6.0-2 all symfony polyfill for the mbstring extensionii php-symfony-process 3.4.6+dfsg-1ubuntu0.1 all execute commands in sub-processesii php7.2 7.2.15-0ubuntu0.18.04.2 all server-side, html-embedded scripting language (metapackage)ii php7.2-bcmath 7.2.15-0ubuntu0.18.04.2 amd64 bcmath module for phpii php7.2-bz2 7.2.15-0ubuntu0.18.04.2 amd64 bzip2 module for phpii php7.2-cli 7.2.15-0ubuntu0.18.04.2 amd64 command-line interpreter for the php scripting languageii php7.2-common 7.2.15-0ubuntu0.18.04.2 amd64 documentation, examples and common module for phpii php7.2-curl 7.2.15-0ubuntu0.18.04.2 amd64 curl module for phpii php7.2-fpm 7.2.15-0ubuntu0.18.04.2 amd64 server-side, html-embedded scripting language (fpm-cgi binary)ii php7.2-gd 7.2.15-0ubuntu0.18.04.2 amd64 gd module for phpii php7.2-json 7.2.15-0ubuntu0.18.04.2 amd64 json module for phpii php7.2-mbstring 7.2.15-0ubuntu0.18.04.2 amd64 mbstring module for phpii php7.2-opcache 7.2.15-0ubuntu0.18.04.2 amd64 zend opcache module for phpii php7.2-pgsql 7.2.15-0ubuntu0.18.04.2 amd64 postgresql module for phpii php7.2-readline 7.2.15-0ubuntu0.18.04.2 amd64 readline module for phpii php7.2-xml 7.2.15-0ubuntu0.18.04.2 amd64 dom, simplexml, wddx, xml, and xsl module for phpii php7.2-xsl 7.2.15-0ubuntu0.18.04.2 all xsl module for php (dummy)ii php7.2-zip 7.2.15-0ubuntu0.18.04.2 amd64 zip module for php
以上就是如何查看php安装模块的详细内容。
其它类似信息

推荐信息