Home PHP How to check which version of PHP you are running on Linux?
 
 
 

How to check which version of PHP you are running on Linux?

PDF Print E-mail

Question: How to check which version of PHP you are running on Linux?



NOTE
: Tested on Centos 4 & 5 and Ubuntu 9.04 



Answer:

  •  In the command line type in the following command to get all PHP information and configurations
    php -i
  • To get the Version number use the following command
    php -v
  • Or this command:
    php -i | grep 'PHP Version'

 

+/-
+/- Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Security Please input the anti-spam code that you can read in the image.
 

Go Daddy $7.49 .com Sale!