ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Learning the Terminal in Jaguar, Part 1
Subject:   Command Line PHP Version?????
Date:   2006-05-28 09:00:53
From:   VectorSalad
Hi,


When I type "php -v" in the command line, it gives me a response of "PHP 4.4.1 (cli) (built: Mar 5 2006 10:30:50)".... yet, when I do a PHP Info check from my Sites directory, it suggests that I'm using PHP 5.x.x....


How can I find/use the command line to perform functions using my (apparently) installed php 5?


When I type the php -v command in the terminal, which/what php could it possibly be looking at?


Thanks for your time!