Jump to content

Mysql/PHP/APACHE


biskalero

Recommended Posts

I have installed php/apache/mysql. No problem with php scripting side anyway, scripts run away fine. I can connect to the database using mysqli_connect , it does connect. But i get this error : mysqli_connect() [function.mysqli-connect]: Headers and client library minor version mismatch. Headers:50051 Library:50147. Then when i use mysqli_fetch_array, the page is loading and then it says "apache has encountered a problem and has to close and then it goes to cannot display page.. I had the exact same problem in class yesterday when i tried the same thing. We set up the same versions of everything in class as i did at home this morning. We have not gone that far yet in classs but i was just messing around cos i had a bit of free time in there. Just wondering is it cos i installed wamp and uninstalled it to installed them manualy

Link to comment
Share on other sites

The php extensions you use must be built using the same C header files as the php version you are using. It would appear that you installed the mysqli extension from a different php version than the php version you are using.

 

Since you did not provide any actual information in your post about the operating system you are using or how you obtained and installed php and the mysqli extension, it will be a little hard to help you.

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.