Click to See Complete Forum and Search --> : finding versions


joshp
03-27-2001, 10:43 AM
ok. i'm a major newbie. how do you find out versions in different software? like if i wanted to know what version of php or sendmail i had.. how do i find such things out?

thanks!
josh

Tyr-7BE
03-27-2001, 12:48 PM
"<program name> --help" will usually tell you all you need to know. Often it's something like "php -v" or "php -version" or "php --version" or something like that.

joshp
03-27-2001, 01:38 PM
Hmm. It's not working? :confused:

bdg1983
03-27-2001, 02:24 PM
If compiled from source, check the directory where the package is installed as it should have the version as part of the directory name.

For rpm's

rpm -q sendmail

sendmail-8.1.4-2.i386.rpm

Only use the actual program name with 'rpm -q'.

Tyr-7BE
03-27-2001, 07:21 PM
If you call something with illegal options it will usually bring up a helpfile with possible parameters. Eg, "sendmail -oskdsfjs" might bring up what it IS possible to do with sendmail. There's also the man pages. "man php" "man sendmail"