Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Updating PHP4 to PHP5

0 views
Skip to first unread message

Michael

unread,
Nov 4, 2009, 11:41:38 AM11/4/09
to
Hey guys, I'm running RHEL 7.2 and I'm trying to update PHP4 to PHP5

When I go into the terminal and type in "php -v" I get:

PHP 5.2.0 (cgi) (built: Nov 3 2006 16:42:24)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v.2.2.0, Copyright (c) 1998-2006 Zend Technologies


However, after uninstalling PHP4 and installing PHP5, when I go to the
test.php page, it says "PHP Version 4.3.9" how do I get the test.php
page to show the current version of PHP?

I want to admit that I am a novice in Linux OS but I am really
interested in learning more about it. Thanks for all your help.

-M

Burkhard Ott

unread,
Nov 4, 2009, 11:47:48 AM11/4/09
to
On Wed, 04 Nov 2009 08:41:38 -0800, Michael wrote:


> However, after uninstalling PHP4 and installing PHP5, when I go to the
> test.php page, it says "PHP Version 4.3.9" how do I get the test.php
> page to show the current version of PHP?

php -f $YOURFILE

or update libphp4 to libphp5 for apache if you cann this page within
apache :-D.

cheers


Wanna-Be Sys Admin

unread,
Nov 5, 2009, 5:02:06 PM11/5/09
to
Michael wrote:

The CGI/CLI binary is surely different than the one for Apache (being
CGI itself or a module). Could be a different install (environment) or
a different path. The CLI/CGI binary and Apache module are different
things.
--
Not really a wanna-be, but I don't know everything.

0 new messages