 |
|
| Linux Forum Index » Linux Networking » Updating PHP4 to PHP5... |
|
Page 1 of 1 |
|
| Author |
Message |
| Michael... |
Posted: Wed Nov 04, 2009 6:41 am |
|
|
|
Guest
|
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 |
|
|
| Back to top |
|
|
|
| Burkhard Ott... |
Posted: Wed Nov 04, 2009 11:47 am |
|
|
|
Guest
|
On Wed, 04 Nov 2009 08:41:38 -0800, Michael wrote:
Quote: 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 .
cheers |
|
|
| Back to top |
|
|
|
| Wanna-Be Sys Admin... |
Posted: Thu Nov 05, 2009 5:02 pm |
|
|
|
Guest
|
Michael wrote:
Quote: 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
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. |
|
|
| Back to top |
|
|
|
|
|
All times are GMT - 5 Hours
The time now is Mon Nov 30, 2009 12:59 pm
|
|