confusing php version

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
iyanski
Forum Newbie
Posts: 5
Joined: Tue Aug 23, 2005 2:13 am

confusing php version

Post 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?
User avatar
Syntac
Forum Contributor
Posts: 327
Joined: Sun Sep 14, 2008 7:59 pm

Re: confusing php version

Post 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...
Post Reply