When I'm developing applications that would be used on client web serves of different configurations, often with shared hosting, which PHP 5 version should I assume most web servers have, e.g 5.2.x, 5.3.x, etc?

Accepted Answer

Version 5.2 is used by 84.9% of all the websites who use PHP version 5.

Version 5.3.3 is used by 39.7% of all the websites who use PHP version 5.3

You can see more statistical data from the following link:


Written by ngduc
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki