unable to load dynamic library C:\php5\php_mysql.dll
Posted 04 September 2006 - 08:31 PM
I have screwed up something on my php.ini file on a windows server and now I am getting this error: "unable to load dynamic library C:\php5\php_mysql.dll". Now, my PHP installation actually resides here: C:\PHP\ so, obviously, it's pointing to the wrong address.
Where do I change this so the program is looking in the right directory?
Posted 04 September 2006 - 10:12 PM
Also if havn't added php to the Windows PATH Variable, copy a file called libmysql.dll to C:\WINDOWS folder.
Posted 05 September 2006 - 03:34 PM
PHP was working fine before I blew it up so I'm pretty confident that the PATH variable is set correctly.
Thanks for your time.
Posted 05 September 2006 - 03:47 PM
Also run this in a script:
<?php phpinfo(); ?>Does it have a mysql section anywhere in that file?
Posted 05 September 2006 - 10:34 PM
Now I have another error which is: "Cannot load mysql exten
sion" when I go to phpMyAdmin.
Posted 05 September 2006 - 10:40 PM
That why I said to check that there is a mysql section present when running the phpinfo function.
Posted 06 September 2006 - 02:19 PM
Active Persistent Links 0 Active Links 0 Client API version 4.1.7 Directive Local Value Master Value mysql.allow_persistent On On mysql.connect_timeout 60 60 mysql.default_host no value no value mysql.default_password no value no value mysql.default_port no value no value mysql.default_socket no value no value mysql.default_user no value no value mysql.max_links Unlimited Unlimited mysql.max_persistent Unlimited Unlimited mysql.trace_mode Off Off
Posted 06 September 2006 - 02:52 PM
Also the MySQL configuration reported is fine.
Posted 06 September 2006 - 09:52 PM
Actually mysql and PHP were running fine after I changed the extension_dir to the correct directory.
The Problem after that was w/ phpMyAdmin and it's configuration.
Here's what I did to fix that:
'host' from localhost to the machine host name 'extension' to 'mysqli' 'user' to a user who has access to MySQL, i.e. can log onto MySQL on the server 'password' to the password of the user
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users