ID: 45512 Comment by: ymzuowei at gmail dot com Reported By: jianglinchun at live dot com Status: No Feedback Bug Type: MySQL related Operating System: windows xp(sp3) PHP Version: 5.2.6 New Comment:
the system can not load libmysql.dll correctly, add the directory of libmysql to PATH or copy it to %WINDOWS%/system32/ Previous Comments: ------------------------------------------------------------------------ [2008-07-22 01:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-07-19 09:24:04] carsten_sttgt at gmx dot de > 1. The enviornment variable should refreshed correctly. > This maybe a problem A service (Apache) recognize an environment variable change only with a Windows restart. > 2. Home directory and extention directory are strongly > demanded to be added the enviornment variables. Only the PHP dir should be in your PATH: http://de.php.net/manual/en/install.windows.manual.php (LoadFile is also not neccesary, if the PHP dir is in your PATH) ------------------------------------------------------------------------ [2008-07-15 02:27:58] jianglinchun at live dot com Finally. I solved this problem by copy libmysql.dll from Php home directory to c:\windows. 1. I am very sure that I configured php module for apache correctly. 2. I changed my enviornment variable to add "D:\open source\php\php-5.2.6-Win32" to the path 3. restart apache 4. make suare the php.ini was loaded correctly 5. I visit the phpinfo.php page. I found that the enviornment variable wasn't refreshed. I tried to restart apache a couple of times. But the path variable were still the same. 6. I copy libmysql.dll to c:\windows and restarted apache. I found mysql information on my phpinfo.php page finally. I thought: 1. The enviornment variable should refreshed correctly. This maybe a problem 2. Home directory and extention directory are strongly demanded to be added the enviornment variables. Hope this help your guys. :D A nice day. :D ------------------------------------------------------------------------ [2008-07-15 01:03:03] synaptic dot axon at gmail dot com Time to get serious, jani... ------------------------------------------------------------------------ [2008-07-14 18:19:56] [EMAIL PROTECTED] Check phpinfo() for what php.ini file is actually loaded and used.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/45512 -- Edit this bug report at http://bugs.php.net/?id=45512&edit=1