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