Home > Article > Backend Development > What should I do if php does not have php mysql.dll?
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.
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.
#2. Open the official website and go to github to download the source code.
#3. Copy the link address and download it with the linux command.
#4. After the download is completed, directly decompress the file package, tar -zxvf filename.tar.gz.
#5. Enter the file package you just decompressed and execute phpize to generate the configuration file.
#6. Execute ./configure to generate the mutation file.
7. make &&make install execute compilation and installation.
8. Modify the configuration file php.ini.
#9. Finally, restart httpd to check whether phpinfo() supports this extension, and you are done.
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!