From:             marcos dot x86 at hotmail dot com
Operating system: Windows XP SP3
PHP version:      5.2.8
PHP Bug Type:     Apache2 related
Bug description:  php_mysql crashes apache

Description:
------------
The Apache 2.2.11 crashes after any PHP script that uses a MySQL 
function, like mysql_select_db. The crash report says about 
php5ts.dll being crashed.

Reproduce code:
---------------
1. Have a MySQL 5.1.30 running.
2. Have a Apache 2.2.11 running, with PHP 5.2.8.
3. (here we check that both MySQL\bin and PHP are in PATH)
4. Run any MySQL+PHP script (in my case, Joomla installation).
5. Apache reports crashing twice, and the browser goes on server error.

Sample Code:
mysql_connect();
mysql_select_db("test");

(Yes, it crashes.)



Expected result:
----------------
Flawless Joomla setup or blank page for the code supplied.

Actual result:
--------------
Apache crashing against php5ts.dll

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

Reply via email to