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

 ID:               28929
 Comment by:       in2ishun at yahoo dot com
 Reported by:      remy at ourselves dot nl
 Summary:          PHP has encountered an Access Violation at 015B73DD
 Status:           Closed
 Type:             Bug
 Package:          IIS related
 Operating System: Win XP Pro
 PHP Version:      5CVS-2004-06-25 (dev)

 New Comment:

***************** SOLUTION!!!!





I realize this issue is AGES old, but it still manages to be the top hit
on Google searches as of now (6/2010).



I fixed my own instance of seeing this error. W2k3, IIS6, PHP 5.2.6,
MySQL 5.1.



The problem is in the pathing. When I used the MSI installer for MySQL
without doing an "advanced" installation (where I could manage the
install details), it added a path to the system environment that
contained spaces. Even after changing the path environment to use the
Windows short-name location of the mysql bin directory, it still didn't
work.



The solution was for me to reinstall mysql and set the default
installation path to just off the root (e.g. C:\mysql). Once I did that
the error went away and my app started working.



There are a number of sites with a variety of potential solutions to
this issue and several of them mentioned paths and the "libmysql.dll"
file (in the "bin" directory of your mysql installation).



If this helps you solve your problem, consider leaving a comment here so
others can see that it works.


Previous Comments:
------------------------------------------------------------------------
[2004-09-06 05:08:53] Ersan191 at evilxp dot com

This bug only seems to occur when running php in isapi mode through IIS.
 I get this error 50% of the time with php4isapi.dll, but when I restart
IIS it goes away for awhile.

------------------------------------------------------------------------
[2004-07-30 16:48:20] g dot collins8 at ntlworld dot com

I am running win 2000 server IIS 5 with php 5.0.0 & MySql 4.0.20d



http://www.nx99.net/info.php



I do not seem to have an error on this page however when I try to
install phpmyadmin or vBulletin I get the following erro.



PHP has encountered an Access Violation at 019573CD



What can i do to fix this as I can not get anything to work.

------------------------------------------------------------------------
[2004-07-30 07:24:23] sak_cu at hotmail dot com

I you CVS version both php and pecl

I has no error



When I restart "IIS Admin"

error dialog will appear.

But it can restart without problem

and webserver can run normally...



This is php bug or IIS Admin bug??

------------------------------------------------------------------------
[2004-07-22 01:04:51] ed...@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------
[2004-07-21 11:12:29] mattbta at gmail dot com

Same error - different memory address...however - here's the kicker,
only search engine spiders see it.  I can't reproduce the error in any
browser on windows, but going through search engine simulators, the
error pops up in different spots on different pages.  This only seems to
be related to pages with MySQL connections/queries.



Setup - w2k3, IIS6, PHP5.0.0 ISAPI, MySQL 4.0.18



Running the same pages on different port with Apache 2.50 eliminates the
error.



I've given the IUSR_COMPUTERNAME account full control to the php dir,
mysql dir, web dir, and php/mysql dll's in %systemroot% and system32 and
system.

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


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/bug.php?id=28929


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

Reply via email to