How does the PHP extension open? Where is the PHP extension downloaded?

Source: Internet
Author: User
PHP Extension Management and open, download.

1. Open the environment, open the index.php in the root directory, enter the route code, save in the browser address field input localhost/index.php or 127.0.0.1/index.php


The 2.phpinfo () function prints out the detailed configuration of the currently used PHP environment


3. Come to the environment of the PHP Program installation folder, you can see there are many. dll suffix files, this is the extension, is already in use, most do not need to change. Folder ext also has a lot of external extensions, these extensions to their own needs to open, what to open it?

4. Go back to the root directory of the PHP installation, find the PHP configuration file, Apmser and wamp PHP configuration file is (php.ini), Phpnow is php.ini-dist, use the editor to open the configuration file, find "extension", Find a place where there's a lot of extension gathered, and then look at the extensions you need specifically.

5. Find the extension, how do I open it? Remove the ";" from the front of the extension, save it, and then restart the environment so that the extension can be used


6. Sometimes, PHP's existing extensions do not meet the requirements, so you have to download the extension files online, in the following ways.

7. Download the new extension. dll file is generally required to register, after registration, in the PHP configuration file to add the extension= extension

Precautions

Download the extended Unified beat Ext folder to go

After opening the extension in the PHP config file, remember to re-open the environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.