Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > Installed 5.2.6 but phpinfo() still says 5.0.2
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 19th November 18:12
x0ml
External User
 
Posts: 1
Default Installed 5.2.6 but phpinfo() still says 5.0.2



I've installed PHP version 5.2.6 but phpinfo() and php -v both report back
the old version 5.0.2. I even copied php.ini-dist from the distribution to
/etc/php.ini and restarted the physical server. It still does show version
5.2.6 as the current version.

As a sidenote, I'm having the same thing occur with my Apache upgrade that I
just did too. It still thinks its version 2.0.54 instead of version 2.0.63.
I tweaked my httpd.conf file, didn't make any difference.

I'm running Fedora 2.6.11-1.1369_FC4. Any ideas where to look?

Mark
  Reply With Quote


 


2 19th November 18:12
nospam
External User
 
Posts: 1
Default Installed 5.2.6 but phpinfo() still says 5.0.2



Depends upon how you installed it, rmp, yum? Were the previous versions
installed the same way? You may have multiple binaries and the init
scripts are pointing to the old ones.

-Shawn
  Reply With Quote
3 19th November 18:12
gmane
External User
 
Posts: 1
Default Installed 5.2.6 but phpinfo() still says 5.0.2


We'll need details on *how* you installed it. I'm guessing you did it
from source and did a simple ./configure && make && su make install right?

This is probably a BAD way to go on a system that controls things with
packages, far better to upgrade the package (which is just as
simply/difficult as compiling source really - well slightly more complex
but not much!).

If you just did ./configure with out specifying --prefix it will defautl
to /usr/local as an install path. Can you run /usr/local/bin/php -v ?

Col
  Reply With Quote
Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Php 5 forum, Apache forum, Iis forum, Functions forum, Classes forum, Librarys forum, Bugs forum, Postgres forum, Mysql forum, Paradox forum, Ms sql forum, Configurations forum, Php.ini forum, Problems forum, Scripting forum, Css forum, General forums, Off-topic talk, Links, Extra forums, Php


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666