Detailed steps for php dynamic expansion plug-in

不言
Release: 2023-04-05 07:38:02
forward
1835 people have browsed it

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
Copy after login

2. Execute phpize

php/bin/phpize
Copy after login
./configure --with-php-config=/usr/local/php70/bin/php-config
Copy after login

–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
Copy after login

The execution result tells you that mysqli.so is installed Which directory

View the specific extension_dir

php -i| grep extension_dir
Copy after login

5. Add

extension=mysqli.so
Copy after login

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
Copy after login

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!

Related labels:
php
source:csdn.net
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 [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!