Home > Article > Backend Development > Detailed steps for php dynamic expansion plug-in
The content of this article is about the detailed steps of PHP dynamic expansion plug-in. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
1. Enter the extension directory of the php source code
php/ext/mysqli
2. Execute phpize
php/bin/phpize
./configure --with-php-config=/usr/local/php70/bin/php-config
–with-php-config to indicate the location of the corresponding php-config
3. Execute make, and then the mysqli.so file will be generated in the ./modules/ directory
4. Execute
make install
The execution result tells you that mysqli.so is installed Which directory
View the specific extension_dir
php -i| grep extension_dir
5. Add
extension=mysqli.so
to php.ini to view the configuration file location php --ini
8. Execute the following command to check whether the installation is successful
php -m | grep mysqli
The above is the detailed content of Detailed steps for php dynamic expansion plug-in. For more information, please follow other related articles on the PHP Chinese website!