PHPWarning: PHPStartup: Unabletoloaddynamiclibraryamp; #39; c: php5extphp_mysqli.dllamp; #39 is to check whether to connect to the mysql database before installing mantisbt on the installation page.
During the installation of Apache2 and php5 + Mysql, you may have encountered such a problem in the apache error log:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/php5/ext/php_mysql.dll '-????????? /R/n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/php5/ext/php_mysqli.dll '-????????? /R/n in Unknown on line 0
There are many articles on the Internet about the solution to this problem. if you find that the problem is still not solved, try this:
Suppose your apache2 is installed in c:/apache2, and php is installed in c:/php5:
Solution:
Copy c:/php5/libmysql. dll to C:/Apache2/bin
Other configuration items related to apache and php are listed below for your reference:
Httpd. conf
LoadModule php5_module "c:/php5/php5apache2. dll"
AddType application/x-httpd-php. php. php4. php5
PHPIniDir "c:/php5"
Php. ini
Extension = php_mysql.dll
Extension = php_mysqli.dll
This article from The CSDN blog, reproduced please indicate the source: http://blog.csdn.net/baidongli/archive/2011/03/29/6285565.aspx