Betafunktioner/PHP7

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Beta Features/PHP7 and the translation is 48% complete.
Other languages:
Bahasa Indonesia • ‎Bahasa Melayu • ‎Deutsch • ‎English • ‎Tiếng Việt • ‎Türkçe • ‎dansk • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português do Brasil • ‎slovenčina • ‎čeština • ‎русский • ‎українська • ‎العربية • ‎سنڌي • ‎فارسی • ‎हिन्दी • ‎বাংলা • ‎ไทย • ‎ქართული • ‎中文 • ‎日本語 • ‎한국어

The Wikimedia Foundation has been employing HHVM to run MediaWiki in production since 2014.[1] Siden da er der sket er der sket et par ting, der gjorde det overbevisende for os at flytte tilbage til den "officielle" PHP tolk:

  • PHP 7 har bragt enorme ydelsesforbedringer, så dens ydeevne i dag er sammenlignelig med eller bedre end HHVM til vores behov.[2][3]
  • HHVM has dropped support for pure PHP in favour of Hack, an "evolution" of PHP which does not have widespread support.[4]

Wikimedia Foundation er ved at flytte alle Wikimedia wikier over til at bruge PHP7 i 2019.[5] PHP7 var tilgængelig som en betafunktion fra januar til maj 2019.[6]

Replacing the Beta Feature, since March 2019 a percentage of all production traffic has been randomly assigned to use PHP instead of HHVM.

You can verify that it is enabled for you by visiting Special:Version on your wiki, and checking that it says "php" instead of "HHVM" in the "Installed software" table.

Spørgsmål og svar

I am a non-technical user. What does this mean?

Hopefully nothing. This is about changing the software used to run the wiki's code. Ideally, you should notice no real difference.

Hvornår kommer det til at ske?

Work began in 2017 and ramped up over 2018. The beta feature was available from January until May 2019, and PHP 7 support should be production-complete in the first half of 2019.

Hvad skal jeg gøre, hvis jeg finder et problem?

Report it on Phabricator, in the PHP 7.2 support project.

Why are edits being tagged?

This will help us identify performance, functional, and stability concerns specific to PHP in comparison to HHVM. Du kan ignorere PHP7 taggene.

Referencer

  1. Giuseppe Lavagetto (December 3, 2014), Wikitech-l All non-api traffic is now served by HHVM Wikimedia Foundation.
  2. Evaluate scalability and performance of PHP7 compared to HHVM Wikimedia Foundation.
  3. Tim Starling (September 20, 2017), Wikitech-l HHVM vs. Zend divergence Wikimedia Foundation.
  4. Max Wang (September 18, 2017), The Future of HHVM HHVM.
  5. Migrate to PHP 7 in WMF production Wikimedia Foundation.
  6. Giuseppe Lavagetto (January 28, 2019), Wikitech-l PHP 7 is now a beta feature Wikimedia Foundation.