Bluehost.com Web Hosting $6.95

Installed 5.2.6 but phpinfo() still says 5.0.2

This is a discussion on Installed 5.2.6 but phpinfo() still says 5.0.2 within the PHP General forums, part of the PHP Programming Forums category; I've installed PHP version 5.2.6 but phpinfo() and php -v both report back the old version 5....


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-03-2008
x0ml
 
Posts: n/a
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 (permalink)  
Old 07-03-2008
Shawn McKenzie
 
Posts: n/a
Default Re: Installed 5.2.6 but phpinfo() still says 5.0.2

x0ml wrote:
> 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
>
>

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 (permalink)  
Old 07-04-2008
Colin Guthrie
 
Posts: n/a
Default Re: Installed 5.2.6 but phpinfo() still says 5.0.2

x0ml wrote:
> 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?


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 Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0