TRACT will upgrade shared hosting servers in June 2016. The current version, PHP 5.5, was initially released in June 2013 and is officially supported until July 2016. Most improvements in PHP 5.6.x have no impact on existing code. PHP 5.6 will replace version 5.5, which introduces:

  • Constant scalar expressions
  • Variadic functions
  • Argument unpacking
  • New exponentiation operator
  • Extensions of the use statement for functions and constants
  • New phpdbg debugger as a SAPI module
  • other smaller improvements, such as large files uploads and default character encoding using default_chrset()

When migrating from PHP 5.5 to PHP 5.6 there are a few incompatibilities and new features that should be considered, and code should be tested in local development environments before updating production sites.

PHP Benchmarks

OnlinePHPFunctions.com benchmarks every week with all PHP versions. The benchmarks run on an openVZ VPS with 512MB ram and 2 cores (Intel Xeon i7 W3520). Software installed: Minimal Centos 6.5 and nginx. A script is executed 100 times on every PHP version, takes the average score, and stores it in the database.

Here are the results from benchmarks performed on the 09/02/2016, showing recent releases of PHP 5.6 performing better than any previous PHP version:

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.18 1.35897 1.34502 0.47644 0.62314 3.80357 sec.
5.6.17 1.29906 1.38117 0.51035 0.70455 3.89513 sec.
5.6.2 1.40809 1.64381 0.48180 0.67631 4.21001 sec.
5.5.32 1.48238 1.57237 0.58700 0.68064 4.32240 sec.
5.5.31 1.36120 1.55135 0.51985 0.69734 4.12975 sec.
5.5.18 1.54317 1.60909 0.49957 0.65085 4.30268 sec.
5.5.5 1.39551 1.63086 0.51834 0.63619 4.18089 sec.
5.4.34 1.38147 1.59396 0.47529 0.64377 4.09449 sec.
5.4.21 1.43531 1.59033 0.48946 0.65364 4.16875 sec.
5.4.13 1.49291 1.59877 0.46719 0.65634 4.21520 sec.
5.4.12 1.40424 1.55226 0.48784 0.66567 4.11001 sec.
5.4.11 1.43639 1.52633 0.47890 0.67978 4.12141 sec.
5.4.10 1.40336 1.56194 0.47179 0.67459 4.11167 sec.
5.4.9 1.46318 1.53365 0.49773 0.65785 4.15242 sec.
5.4.8 1.48656 1.57709 0.46769 0.75579 4.28713 sec.
5.4.7 1.43448 1.59814 0.46893 0.74431 4.24586 sec.
5.4.6 1.41901 1.65853 0.59095 0.81270 4.48118 sec.
5.4.5 1.41219 1.60145 0.49030 0.69123 4.19517 sec.
5.4.4 1.43176 1.58044 0.55283 0.83594 4.40098 sec.
5.4.3 1.44751 1.61602 0.49419 0.67421 4.23193 sec.
5.4.2 1.55348 1.59751 0.51560 0.66421 4.33081 sec.
5.4.1 1.44347 1.60387 0.47079 0.66789 4.18602 sec.
5.4.0 1.46992 1.59846 0.49743 0.68476 4.25057 sec.
5.3.29 1.67509 2.34282 1.11979 1.29423 6.43193 sec.
5.3.27 1.65254 1.80452 0.82729 1.27235 5.55670 sec.
5.3.23 1.54485 1.68125 0.75201 1.33606 5.31417 sec.
5.3.22 1.69303 1.64111 0.70850 1.24829 5.29093 sec.
5.3.21 1.51786 1.72207 0.74794 1.17906 5.16693 sec.
5.3.20 1.62691 1.69830 0.70430 1.13212 5.16163 sec.
5.3.19 1.59631 1.73327 0.71092 1.13690 5.17741 sec.
5.3.18 1.61321 1.71875 0.69881 1.13050 5.16128 sec.
5.3.17 1.60897 1.66851 0.69330 1.21035 5.18113 sec.
5.3.16 1.54401 1.67023 0.74524 1.24291 5.20239 sec.
5.3.15 1.50440 1.67243 0.76139 1.13455 5.07277 sec.
5.3.14 1.78542 1.96778 0.68867 1.20307 5.64495 sec.
5.3.13 1.84234 1.93056 0.70912 1.16551 5.64753 sec.
5.3.12 1.75647 1.91452 0.72821 1.22786 5.62707 sec.
5.3.11 1.88541 1.91648 0.73602 1.20475 5.74266 sec.
5.3.10 1.81064 1.92931 0.70743 1.19435 5.64173 sec.
5.3.2 1.71885 1.83945 0.71611 1.21557 5.48999 sec.
5.3.1 1.69551 1.72011 0.70162 1.17129 5.28853 sec.
5.3.0 1.76783 1.90239 0.74428 1.05919 5.47368 sec.
5.2.17 1.85343 2.06626 1.04638 2.22205 7.18811 sec.
5.2.16 1.74243 1.80666 1.05306 1.80089 6.40303 sec.
5.1.6 1.78605 3.38384 1.08277 2.03171 8.28437 sec.
5.1.5 1.50176 2.23842 1.02794 2.11785 6.88597 sec.
5.0.5 2.68243 3.35961 4.55856 6.41808 17.01868 sec.
5.0.4 2.33240 3.06503 4.58283 6.26290 16.24316 sec.

During the upgrade process there will not be any impact to customers services, all hosting servers will remain online and accessible. If you have any further issues or queries with this PHP update, please don’t hesitate to contact us on NZ: +64 9 889 3885 AU: +61 7 3040 0885 or help@tract.com



Wednesday, February 10, 2016

« Back