Page 1 of 1

confusing php version

Posted: Wed Nov 05, 2008 7:25 pm
by iyanski
i recently updated my php 5.1 to 5.2.x when i try to do a.

$> php -v
PHP 5.2.6 (cli) (built: Nov 5 2008 09:22:01)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

but my phpinfo(); still says that my php version is 5.1.x

any idea how to get these synchronized or what i missed configuring this?

Re: confusing php version

Posted: Wed Nov 05, 2008 9:19 pm
by Syntac
All you updated was the command-line version of PHP. Your server's PHP module is still 5.1. You'll probably need to compile a new one.

I wonder why the server can't just invoke the command-line version...