Home >Backend Development >PHP Problem >How to import packages in php
#How to import packages in php?
On the windows platform, there are mainly three steps:
1. Download the php expansion package file;
is usually at http://pecl.php. Download information is available on net/.
2. Unzip the file and copy the *.dll file to the "ext" or "extension" directory under the main directory of the PHP program.
3. Open the php.ini file, add "extension=*.dll" in the "Dynamic Extensions" configuration section, close the file, and restart the server to load successfully.
For more PHP related knowledge, please visit PHP Chinese website!
The above is the detailed content of How to import packages in php. For more information, please follow other related articles on the PHP Chinese website!