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
##2.phpinfo( ) function will Print out the detailed configuration of the currently used php environment
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
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
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!