Home > Backend Development > PHP Tutorial > How to open php extension? Where to download php extension?

How to open php extension? Where to download php extension?

黄舟
Release: 2023-03-14 15:40:02
Original
5610 people have browsed it

Manage, open and download php extensions.

1. Open the environment, open index.php in the root directory, enter the code on the way, save it in the browser address bar and enter localhost/index.php or 127.0.0.1/index. php

How to open php extension? Where to download php extension?


##2.phpinfo( ) function will Print out the detailed configuration of the currently used php environment

How to open php extension? Where to download php extension?


##3. Go to the PHP program installation folder of the environment. You can see that there are many files with the .dll suffix. This is a built-in extension and is already in use. Most of them do not need to be changed. There are also many external extensions under the ext folder. These extensions can be enabled according to their own needs. What should be enabled?

How to open php extension? Where to download php extension?

How to open php extension? Where to download php extension?4. Return to the root directory of the php installation and find the php configuration file, apmser and wamp php configuration files Yes (php.ini); phpnow's is php.ini-dist. Use an editor to open the configuration file, search for "extension", find a place where many extensions are gathered, and then check for the extension you specifically need

How to open php extension? Where to download php extension?

How to open php extension? Where to download php extension?

5. Find the extension, how to enable it? Remove the ";" sign in front of the extension, save it, and then restart the environment so that the extension can be used

How to open php extension? Where to download php extension?


6. Sometimes, the existing extension of PHP cannot meet the demand, so you have to download the extension file online. The specific methods are as follows.

How to open php extension? Where to download php extension?

7. After downloading the new extension .dll file, you are generally required to register it first. After registration, add extension = extension to the php configuration file. Name

Note

The downloaded extension should be unified into the ext folder

In the php configuration file After opening the extension, remember to reopen the environment

The above is the detailed content of How to open php extension? Where to download php extension?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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