php tutorials, php form validation
Archive Tutorials
Discussion Home
Login / Register

Board List
PHP programming

How to save gas 25% or more
Marshall Reddick
Network Marketing Forums
Income Tax Help
Lose 10 Pounds in 3 Weeks
PHP Forum Script
Online Contest

Learn PHP in 47 hours!

Back to PHP programming


How do I check the version of PHP How do I check the version of PHP

How do I check the version of PHP

by uclaboyz on Fri 02/24/2006 10:42 AM

There are several ways how you can check the version of PHP running on your web server. 

If you already are comfortable in writing a PHP file, you can simply create a php file with this content in it: 


Say you named it phpinfo.php, you would just need to point your browser to: 


You will see a long page diplaying the version of your PHP that you are running, the different modules that were built when the PHP was compiled, etc. 

The other way check the version of your PHP is by going to Shell and type: 

php --version 

It will immediately tell you what version of PHP that is on the server.

[Reply] [Back to Top]

Copyright 2006-2007.  All Rights Reserved. Site hosted by Small Business Web Design
how to start a blog | parenting tips website | Passive Income | baby websites