Re: Installed 5.2.6 but phpinfo() still says 5.0.2
| From: | Colin Guthrie | Date: | Fri, 04 Jul 2008 08:38:47 +0000 |
| Subject: | Re: Installed 5.2.6 but phpinfo() still says 5.0.2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276278@lists.php.net to get a copy of 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