PHP -v says 5.2.1 and PHP Info says 5.1.6?

Hello,

I have a little problem I installed php5 with fastcgi and nginx using library.linode.com/web-servers/nginx/php-fastcgi/centos-5 tutorial and then I went to go upgrade php from 5.1 to 5.2 following wiki.centos.org/HowTos/PHP_5.1_To_5.2

And it looks good but when I go to my site, it says PHP Version 5.1.6 and when I do php-v it says

PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

Any idea of what could be wrong? I restarted nginx like 5 times so far and checked every conf I could find. I even redid the php.ini a couple times.

Also

whereis php

returns php: /usr/bin/php /etc/php.d /etc/php.ini /usr/include/php /usr/share/php /usr/share/man/man1/php.1.gz

The only one listed is /usr/bin/php which is where php is installed.

Any help?

 

 

 

 

Top