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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 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] pajoye@php.net

    "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.).

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.