#47882 [Bgs]: calls to mysql_connect crash

2009-04-03 Thread ldjones at us dot ibm dot com
 ID:   47882
 User updated by:  ldjones at us dot ibm dot com
 Reported By:  ldjones at us dot ibm dot com
 Status:   Bogus
 Bug Type: MySQL related
 Operating System: Windows XP SP3
 PHP Version:  5.2.9
 New Comment:

So, in other words, PHP 5.2.9 is simply not compatible with Apache
2.2.11?  I was using the files that came with both of those
installations and it failed.


Previous Comments:


[2009-04-02 22:03:55] johan...@php.net

Your system loads libmysql.dll from 5.1 instead f the 5.0 version which
was used when linking PHP but these libraries are incompatible. You can
safely use the 5.0 dll to connect to a 5.1 serer though.



[2009-04-02 21:45:31] ldjones at us dot ibm dot com

Description:

I am wondering why Bug 46842 was closed with no resolution? The status
shows as "Bogus".  However, I just bought a new laptop and installed
MySQL 5.1.33, Apache 2.2.11, and PHP 5.2.9-1.  Then I couldn't run
anymore because Apache dies with the exact same problem reported with
Bug 46842.  In other words, it's not bogus at all.

I configured php.ini the same as I did on my old laptop (Apache 2.2.8,
MySQL 5.0.22, PHP 5.2.5) by turning on CURL, MySQL, MySQLi, and
OpenSSL.

By the way, I got by the problem by following the advice of one of the
people who posted on Bug 46842 - I copied the libmysql.dll from PHP
5.2.5 and overwrote the one supplied by PHP 5.2.9, but I only did that
because I can't afford down time.  I would gladly undo that change if
someone would fix the problem.

Thanks,
Lonnie Jones

Reproduce code:
---
 


Expected result:

Connected successfully.

Actual result:
--
The browser says Apache can no longer function and will close.  Apache
doesn't close, but I don't get a connection either.





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



#47882 [NEW]: calls to mysql_connect crash

2009-04-02 Thread ldjones at us dot ibm dot com
From: ldjones at us dot ibm dot com
Operating system: Windows XP SP3
PHP version:  5.2.9
PHP Bug Type: MySQL related
Bug description:  calls to mysql_connect crash

Description:

I am wondering why Bug 46842 was closed with no resolution? The status
shows as "Bogus".  However, I just bought a new laptop and installed MySQL
5.1.33, Apache 2.2.11, and PHP 5.2.9-1.  Then I couldn't run anymore
because Apache dies with the exact same problem reported with Bug 46842. 
In other words, it's not bogus at all.

I configured php.ini the same as I did on my old laptop (Apache 2.2.8,
MySQL 5.0.22, PHP 5.2.5) by turning on CURL, MySQL, MySQLi, and OpenSSL.

By the way, I got by the problem by following the advice of one of the
people who posted on Bug 46842 - I copied the libmysql.dll from PHP 5.2.5
and overwrote the one supplied by PHP 5.2.9, but I only did that because I
can't afford down time.  I would gladly undo that change if someone would
fix the problem.

Thanks,
Lonnie Jones

Reproduce code:
---
 


Expected result:

Connected successfully.

Actual result:
--
The browser says Apache can no longer function and will close.  Apache
doesn't close, but I don't get a connection either.

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