Home > Backend Development > PHP Problem > How to check if the extension is installed in php

How to check if the extension is installed in php

藏色散人
Release: 2023-03-11 16:08:02
Original
4522 people have browsed it

php method to check whether an extension is installed: first enter the command line; then execute the command "php -m" to check whether an extension is installed. If it is installed, the matching results will be listed.

How to check if the extension is installed in php

The operating environment of this article: Windows 7 system, PHP version 7.1, DELL G3 computer

How to check if the extension is installed with php?

The fastest way to check whether an extension is installed is through the command line

php -m

How to check if the extension is installed in php

Check whether the ampq extension is installed. If it is installed, matching results will be listed

php -m | grep 'amqp'

How to check if the extension is installed in php

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to check if the extension is installed in php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template