Installed 5.2.6 but phpinfo() still says 5.0.2

View: New views
3 Messages — Rating Filter:   Alert me  

Installed 5.2.6 but phpinfo() still says 5.0.2

by x0ml :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Installed 5.2.6 but phpinfo() still says 5.0.2

by Shawn McKenzie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Installed 5.2.6 but phpinfo() still says 5.0.2

by Colin Guthrie-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

LightInTheBox - Buy quality products at wholesale price