biskalero Posted June 12, 2010 Share Posted June 12, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/204569-mysqlphpapache/ Share on other sites More sharing options...
biskalero Posted June 12, 2010 Author Share Posted June 12, 2010 I am a newbie so im not sure whats going on. I had wamp installed and i uninstalled it because i want to use dos command prompt instead for learning purposes. Is it something to do with that ? Quote Link to comment https://forums.phpfreaks.com/topic/204569-mysqlphpapache/#findComment-1071136 Share on other sites More sharing options...
PFMaBiSmAd Posted June 12, 2010 Share Posted June 12, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/204569-mysqlphpapache/#findComment-1071178 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.