|Re: error while running symfony -V [message #80301 is a reply to message #80105 ]
||Sat, 20 June 2009 09:36
Registered: June 2009
|halfer wrote on Thu, 18 June 2009 14:46|
If you do "php -v" at the command line, you will find that the php that you are using is PHP4, which is not sufficient to run symfony.
The solution is to modify your system path and remove the path to PHP4, leaving just the path to PHP5. To do this on Windows you'll need to find the configuration panel for your environment variables - if you get stuck just do a bit of googling. Find your path variable, which will have a number of pathnames in it separated by semicolons ( and remove the path to your PHP4 installation. Personally I find it easiest to select-all and paste into Notepad, edit, then select-all and paste back into the properties window.
thanks for reply,
php -V shows:
[root@localhost sfproject]# php -v
PHP 4.3.9 (cgi) (built: Nov 24 2004 08:48:16)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
how do i upgrade to php5.