A small history of PHP releases:
- version 5.3 was released back in 2009;
- 5.4 - March 1, 2012;
- 5.5 - January 20, 2013.
In August of this year, PHP 5.3 received its latest update; this version will not be supported anymore. In 2015, this fate awaits version 5.4. Unfortunately, PHP is not in a hurry to get a ru-segment.
In the PHP world in recent years there have been quite large changes. The advent of GitHub, Composer, and PSR have seriously changed the PHP community.
Symfony 2, laravel, and now yii2 can be considered the current mainstream. And of course I want to write a modern, good, high-quality code.
Unfortunately, the desire does not always coincide with reality. And now another customer comes to us, orders a website and asks to place it on his, necessarily on his hosting, because his Wordpress blog is already running there. And hosting is very good if it supports at least 5.3. The client's attitude is also surprising: the current cost of hosting is a ridiculous amount in the region of 150 rubles per month, which is an order of magnitude less than the cost of the site itself.
At one time, the transition from php5.2 to php 5.3 was very painful for our hosting sites. Until now, on some sites, version 5.3 is enabled only in one and only way in htaccess: AddHandler application / x-httpd-php53 .php
I conducted a small study of hosting at the beginning and end of this year.
Options with VPS, VDS, clouds immediately excluded. Also, options are excluded when hosting offers to build php itself. The sample was from the hosting, faced in the process, plus the top Google. No advertising and PR, bare numbers:
')
| PHP version summer 2013 | PHP version for December 2014 |
---|
sweb.ru | 5.2 | 5.6 [upd1] [upd2] |
timeweb.ru | 5.3 | 5.5 |
nic.ru | 5.3 | 5.3 |
masterhost.ru | 5.3 | 5.4 [upd1] |
hc.ru | 5.3 | 5.4 not on all panels |
zenon.ru | 5.4 | 5.4 |
reg.ru | 5.4 | 5.5 |
agava.ru | 5.5 | 5.5 |
1gb.ru | 5.3 | 5.5 |
hostland.ru | - | 5.3 |
dinohost.ru | - | 5.3 |
peterhost.ru | - | 5.4 |
caravan.ru | - | 5.4 |
diphost.ru | 5.4 | 5.6 |
majordomo.ru | - | 5.5 |
sky-host.com | - | 5.3 |
hoster.ru | - | 5.4 |
ht-systems.ru | - | 5.4 |
bizhost.ru | - | 5.5 |
hostinger.ru | - | 5.5 |
jino.ru | - | 5.6 |
ukraine.com.ua | - | 5.5, 5.6-beta |
www.komtet.ru | - | 5.6 |
As can be seen from the table, about 30% of hosting sites are not ready to move to 5.4, but these 30% are fairly large players.
Unfortunately, these 30% are a weighty reason for our managers not to use the new features of the language. I really hope that this post will not go unnoticed by our hosters.
Of course there is still a question: does a shared hosting need support for modern versions of php? Take the VPS, customize and do not worry. But this is a completely different story, and many customers simply cannot cope with VPS.
[UPD.1]
Unsubscribed by masterhost - there is support for php5.4, although TP assured me of buying a VPS
The answer is sweb -
5.4 and 5.5 are available for self-selection from the control panel for all accounts registered since the introduction of these versions with us. For accounts registered up to this point, the version changes to 5.4 and 5.5 through the support, while these servers are in the process of updating.