PHPKonf Istanbul PHP Conference 2019 - Call for Papers

湖北快三今天开奖直播:Keeping Current

湖北十一选五官网 www.na503.cn PHP, like any other large system, is under constant scrutiny and improvement. Each new version will often include both major and minor changes to enhance security and repair any flaws, configuration mishaps, and other issues that will affect the overall security and stability of your system.

Like other system-level scripting languages and programs, the best approach is to update often, and maintain awareness of the latest versions and their changes.

add a note add a note

User Contributed Notes 2 notes

up
12
Tapani Talvitie
12 years ago
> Users might also like to use the latest features in PHP5,
> but the host may still be using PHP4.
>
> Hosts might also be running with register_globals on. As
> reported elsewhere in the comments on this site, when
> some hosts turned it off, they got several emails about
> broken scripts. So the hosts simply turned register_globals
> back on.

> The only solutions, besides pestering the web host to
> upgrade, are to change to a different, more modern
> host, or consider renting a virtual server where you can
> set up PHP yourself.

Another solution could be that the web hosting firms would run a new (virtual) server when a new major PHP version is released. The new server would have all security related settings turned on. This way new customers would automatically get the new features and old ones could ask to be moved. All clients would be informed about the possibility to update, so that the not-so-active web masters could start their slow transition process in the following months.

There is of course a downside in this solution too: web hosting firms would need to maintain several PHP version. One way to solve this would be to limit available php versions to two. If for example the host has php4 and php5 servers and then php6 is released, php4 users would be forced to move to the newer version. A major php releases come out once or twice in the year(?) That would give 1-2 years for the slow web masters to adjust ;-)
up
4
Chris Hester
13 years ago
The problem lies in everyday web hosting firms which often seem to employ old versions of PHP. The user is therefore stuck. They may also be at risk as security patches won't be present. Users might also like to use the latest features in PHP5, but the host may still be using PHP4.

Hosts might also be running with register_globals on. As reported elsewhere in the comments on this site, when some hosts turned it off, they got several emails about broken scripts. So the hosts simply turned register_globals back on.

The only solutions, besides pestering the web host to upgrade, are to change to a different, more modern host, or consider renting a virtual server where you can set up PHP yourself. Of course this is likely to be more expensive and so not suitable for the average person. It just seems a shame to be stuck using older versions of PHP which are less secure than the latest one.
To Top
  • 人民日报助我走上研究中国之路 2019-01-22
  • 铁路迎端午客流最高峰 今日预计发送旅客1318万人次 2019-01-22
  • 《温暖的弦》大结局 张钧甯演技时尚感双双在线 2019-01-22
  • 彭于晏廖凡曝姜文“精神洁癖” 2019-01-22
  • 越地宝藏——100件文物讲述浙江故事 2019-01-21
  • 老将不死但已凋零 青黄不接的“袋鼠军团”能否延续神勇 2019-01-21
  • 女子为维系恋情 抱走别人的孩子谎称与男友亲生 2019-01-21
  • “中国队”已提前到达现场!各商家强势布局俄罗斯世界杯 2019-01-20
  • 因排放新规实施 保时捷欧洲市场销量将下滑 2019-01-20
  • 停止接客!杭州奥体某盘摇号在即 购房者头顶烈日前往 ——凤凰网房产 2019-01-20
  • 校外培训机构乱象:无证无照无资质 超范围经营 2019-01-20
  • 壮阔东方潮奋进新时代 2019-01-19
  • 改为允许室内设置吸烟区 杭州控烟令修改引争议 2019-01-19
  • 回复@“老笑头”,本人觉得你越来越幼稚可笑了。连“再什么主义,你没生产资料咋劳动?”这样的话都说出来了。你长大后没有经历过全中国的公有制时代,不清楚是可能... 2019-01-19
  • 拥有大智慧的中国古人就把“子”和“女”结合在一体,造出一个会意字“好”字。一直就用这个“好”的感觉结果去衡量其它任何生存环境中的万物万事所给人的感觉。 2019-01-19
  • 812| 119| 853| 479| 159| 549| 116| 648| 156| 667|