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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |