Jump to content

[SOLVED] fetch_assoc() crashes apache


amyhughes

Recommended Posts

I don't know where to get that

 

Google is a beautiful thing :) but I'm not sure I know how to use it. I put the pdb files in the same directory as the DLLs, and now it hangs rather than crash. I don't know how to get a backtrace unless it gives me one of those "sorry for the inconvenience" dialogs.

Just for giggles I re-booted. Not sure what needed that, and it's not the first time tonight, but it did the trick. The darn thing is working now. I have the original code I posted working now. I'm assuming I needed MySQL 5.0.* for php 5.2.*, as the poster in that thread said, and that I needed to reboot after downgrading all these things.

 

Thanks, Corban, for your help.

  • 11 months later...

By the way everyone, this does solve the problem (see below).  I had the very same problem with the fetch_assoc() method causing Apache to crash. Once I disabled the libmysql.dll from the MySQL installation directory...the problem disappeared.  See instructions below:

 

Quote

 

    [2 Aug 2008 7:53pm UTC] [email protected]

    "I fix this bug renaming the libmysql.dll in C:\Program

    Files\MySQL\MySQL

    Server 5.1\bin to libmysql.dll_

 

    Now php uses libmysql.dll in c:\php directory and phpinfo shows Client

    Api version 5.0.19. Before showed 5.1.25rc"

 

    Ah that is definitively a good thing to do, using 5.1 DLLs with PHP

    binaries is wrong.

 

    About the backtrace, it seems that you are missing the debug pack, I

    can't see any symbols (  Error WARNING - DebugDiag was not able to

    locate debug symbols for php5ts.dll, so the information below may be

    incomplete.).

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.