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