LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-13-2003, 11:22 PM   #1
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
Unhappy php not recognizing mysql installation


ok, here we go: i upgraded mysql from 3.23.58 to 4.0.16, everything went smoothly and all that. php works fine, after testing some echo's and such...now, i did a phpinfo(); to check the mysql section to see that php recognized the new version, and ouch...it doesn't. still reading 3.23.58. so, i grab the source rpm and rebuild it from the ground up (after cleaning out the appropriate dirs). goes without a hitch, until i restart apache and check phpinfo() again, and man, still reading 3.23.58. i've checked all over the place, and the module for php-mysql integration was included in the source rpm that i already compiled! so what's the deal?

to add to the confusion, phpmyadmin works FINE and even displays the correct version of mysql. what a paradox!

also, i've eliminated the fact that i could be viewing a cached file...many times over (even viewing from a M$ box on the LAN thats never even touched my server)

any help would be much appreciated, check out the sig for the stats of this box

-- and of course, i have
 
Old 12-13-2003, 11:34 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
How are you restarting mysql? Are you just doing a simple restart or shutting it down completely and then starting it up? If you haven't tried already, try shutting it down completely, killing all of its processes and then restarting it.

I believe its just like apache, if you upgrade and do a restart, if you view directory pages where you can see the version at bottom of the page, it will read your old version until you stop and then start it.

Regards.
 
Old 12-13-2003, 11:54 PM   #3
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Original Poster
Rep: Reputation: 30
i don't see how that would have anything to do with it...but i tried anyways, and phpinfo still saying 3.23.58

-thx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql 4.1.12 installation & PHP 5 tuxrules Slackware 2 06-23-2005 11:58 PM
my PHP installation says no MySQL support Niceman2005 Linux - Software 4 06-23-2005 08:23 PM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 03:54 PM
php and mysql installation siphi Linux - Newbie 9 11-02-2003 10:26 AM
Installation Tutorial Apache 2, PHP 4, MySQL 3.23 freddymio Programming 2 07-03-2002 10:40 AM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration