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

 ID:               51342
 Updated by:       paj...@php.net
 Reported by:      jon dot halling at bilnavet dot com
 Summary:          Access Violation with MySQL comand
-Status:           Open
+Status:           Bogus
 Type:             Bug
 Package:          Reproducible crash
 Operating System: Win XP SP3
 PHP Version:      5.2.13

 New Comment:

Don't use libmysql from MySQL installation but the one we provide. See
the countless reports here to find how to fix it (PATH).


Previous Comments:
------------------------------------------------------------------------
[2010-03-21 12:30:59] jon dot halling at bilnavet dot com

Description:
------------
I get the error message "PHP has encountered an Access Violation at
[some address]" when I execute mysql_connect() in a php-file accessed by
web browsers. Same result even if the MySQL-server is shut down.



Running Win XP SP3 and all the latest patches, and running Windows built
in IIS webserver, has tested multiple browsers. The php.ini is standard
except for extension php_mysql.dll activated. PHP installation dir is
C:\Program\PHP\ and file is located in
C:\Inetpub\wwwroot\work\db_test.php (http://localhost/work/db_test.php).
Have checked that all files and folders have write access.



The same file accessed from command prompt is not experiencing any
problems, so I have problem generating backtrace according to your
instructions. Please instruct how I can gather more information if
necessary.

Test script:
---------------
echo "BOO ";

$open = mysql_connect($host, $user, $pwd);

echo "FOO";

Expected result:
----------------
BOO FOO

Actual result:
--------------
BOO PHP has encountered an Access Violation at 0183AC6A


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



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

Reply via email to