Home>Article>Backend Development> What should I do if php does not have php mysql.dll?

What should I do if php does not have php mysql.dll?

藏色散人
藏色散人 Original
2020-08-31 10:15:25 3146browse

The solution to the problem that php does not have php mysql.dll: First go to github to download the source code; then execute phpize to generate the configuration file; then perform compilation and installation through "make &&make install"; finally modify the configuration file "php.ini "That's it.

What should I do if php does not have php mysql.dll?

Recommended: "PHP Video Tutorial"

extension=php_mysql.dll cannot be found in php.ini Caused by setting errors, the solution is as follows:

1. First search for swoole on Baidu.

What should I do if php does not have php mysql.dll?

#2. Open the official website and go to github to download the source code.

What should I do if php does not have php mysql.dll?

#3. Copy the link address and download it with the linux command.

What should I do if php does not have php mysql.dll?

#4. After the download is completed, directly decompress the file package, tar -zxvf filename.tar.gz.

What should I do if php does not have php mysql.dll?

#5. Enter the file package you just decompressed and execute phpize to generate the configuration file.

What should I do if php does not have php mysql.dll?

#6. Execute ./configure to generate the mutation file.

What should I do if php does not have php mysql.dll?

7. make &&make install execute compilation and installation.

What should I do if php does not have php mysql.dll?

8. Modify the configuration file php.ini.

What should I do if php does not have php mysql.dll?

#9. Finally, restart httpd to check whether phpinfo() supports this extension, and you are done.

What should I do if php does not have php mysql.dll?

The above is the detailed content of What should I do if php does not have php mysql.dll?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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 admin@php.cn