From:             
Operating system: Win XP SP3
PHP version:      5.2.13
Package:          Reproducible crash
Bug Type:         Bug
Bug description:Access Violation with MySQL comand

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 bug report at http://bugs.php.net/bug.php?id=51342&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51342&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51342&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51342&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51342&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51342&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51342&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51342&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51342&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51342&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51342&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51342&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51342&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51342&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51342&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51342&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51342&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51342&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51342&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51342&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51342&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51342&r=mysqlcfg

Reply via email to