Click here to Skip to main content
15,567,221 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
working in PHP, so many times we have to check the PHP version and have to work keeping in view the version of PHP.

My Question is

Is this the PHP Version of where I host my Site?
If not, then is it the client's machine's version?

Can Some one Explain?
Posted

You can check your PHP version with:

phpinfo();
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 19-Apr-11 2:22am    
Correct! This is an important tool to check many things.
My 5.
--SA
Jeffrey Enzo 19-Apr-11 2:23am    
Thanks SA!

-- Jeffrey
Yes, checking you PHP version means you are checking what PHP version your website host is having.
In client side only the browser matters.
 
Share this answer
 
v2
Comments
rashidfarooq 19-Apr-11 3:28am    
But If I ask the PHP Version of My Web host and program my site keeping in view that version, will it be a good technique?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900