ID:               47668
 Updated by:       paj...@php.net
 Reported By:      keith at atyourservicetech dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Windows Server 2003
 PHP Version:      5.2.9
 New Comment:

"The libmysql.dll file that ships with teh Windows binary is not
compatible with php5."

It is. The problem is to use the MySQL DLL with PHP. Don't do that,
ever.

And no bug > bogus.


Previous Comments:
------------------------------------------------------------------------

[2009-03-15 22:08:08] keith at atyourservicetech dot com

Description:
------------
This is an issue more with mySQL than php, but figured a help should be
posted here as well:

The libmysql.dll file that ships with teh Windows binary is not
compatible with php5.  If mysql appears in the path directive PRIOR to
the php directory, php5 will run into access violations.  To remidy the
problem, one of the two following solutions can be applied:

1) Make sure the php5 directory appears BEFORE the mysql directory in
the PATH environment variable, or

2) Copy the libmysql.dll file from the php5 directory to the mysql
directory.

I searched HOURS for this and only found ONE obscure reference to it! 
Figured I would post it out here for all!

Keith Clark


Reproduce code:
---------------
Any php code that attempts to access mysql databases

Actual result:
--------------
PHP has encountered an Access Violation at .......


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47668&edit=1

Reply via email to