How to check Php version

Hello Friends,Today I am share about how to check php version in localhost and server.

If you are developing a php application using wamp ,xamp etc,some new php function are not worked or some modules are not enabled(ex:curl). In that case we need to check php version. Simple way to check php version in localhost.

Create a new php file paste the above code and save file in your localhost root directory(htdocs Or WWW) .

I have save file in the name of phpinfo.php and run it.
It will print the entire information abut your php version

If you want check your server php version follow the same way.

facebooktwittergoogle_plusredditby feather
  • bery

    Very good post. I definitely love this site. Thanks!


    Very good info. Lucky me I discovered your blog by chance (stumbleupon).
    I’ve bookmarked it for later!

    Here is my blog post; party invitation (