From:             lunaelipsis at hotmail dot com
Operating system: Windows 7
PHP version:      5.2.11
PHP Bug Type:     MySQL related
Bug description:  5.2.11 doesn't reconize mysql_connect function

Description:
------------
I encountered the known issue of the "Fatal error: Call to undefined
function mysql_connect()" with PHP 5.2.11 runnnig Apache 2.2 on Windows 7
connecting to distant MySQL 5 database.

What i did to try to resolve it :
Checked that C:\PHP was in windows PATH variable
Checked that libmysql.dll was present 
Checked that php_mysql.dll was present
Checked that extension=php_mysql.dll was uncommented

Ran cmd.exe -> php -m 
it shown every module loaded with php including MySQL.



Reproduce code:
---------------
Install PHP 5.2.11 on Windows 7 with Apache 2.2 and do the required
configurations to use mysql. 

Expected result:
----------------
PHP doesn't reconize any mysql_* functions

Actual result:
--------------
I reinstalled php 5.2.9.9 and it worked directly.

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

Reply via email to