PHP Warning: PHP Startup: Unable to load dynamic library &am_MySQL
程序员文章站
2024-04-05 21:30:19
...
就是在mantisbt安装页面,进行安装之前,要检查是否连接到mysql数据库
安装Apache2和php5+Mysql的过程中,大家可能遇到过这样的问题,在apache的error日志:
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
网上有很多文章讲关于这个问题的解决方法,如果找了一圈,发现问题还是没有解决,那就试试这个:
假设你的apache2安装在c:/apache2,php安装在c:/php5:
解决方法:
拷贝c:/php5/libmysql.dll 到 C:/Apache2/bin
其他的关于apache,和php的配置,我也列在下面,供参考:
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
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/baidongli/archive/2011/03/29/6285565.aspx
推荐阅读
-
PHP Warning: PHP Startup: Unable to load dynamic library &am_MySQL
-
PHP Warning: PHP Startup: Unable to load dynamic library &am_MySQL
-
[PHP有关问题]PHP Warning: PHP Startup: Unable to load dynamic library ‘C:/AppServphp5
-
PHP启动提示Unable to load dynamic library php_curl.dll怎么办_PHP教程
-
php报错:unable to load dynamic library
-
php出现Unable to load dynamic library 'c:phpextensionsphp_mssql.dll'
-
PHP Warning: PHP Startup: Unable to load dynamic library D_PHP教程
-
PHP Warning: PHP Startup: Unable to load dynamic library _PHP
-
PHP Warning: PHP Startup: Unable to load dynamic library _PHP
-
PHP Warning: PHP Startup: Unable to load dynamic library D_PHP教程