From 325c31dec665de96955f91285c9dc61db80deb51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Thu, 10 Dec 2020 21:57:26 +0200 Subject: [PATCH] Update PHP docs to mention PHP 8.0 --- _posts/2016-06-21-php7-hhvm.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/_posts/2016-06-21-php7-hhvm.md b/_posts/2016-06-21-php7-hhvm.md index c31ce77..d843786 100644 --- a/_posts/2016-06-21-php7-hhvm.md +++ b/_posts/2016-06-21-php7-hhvm.md @@ -1,24 +1,20 @@ --- layout: page -title: "PHP 7 versions" +title: "PHP versions" category: configuration date: 2016-06-21 19:24:02 order: 4 summary: "Seravo.com always offers the latest version of PHP for fast and secure sites" --- -## Alternative PHP Engines - -By default, Seravo.com uses the PHP7 as its PHP driver because it is widely supported in the WordPress community and the vast majority of plugins will work with it. Alternative engines have however also been available and customers can easily change the PHP version in use. - ## PHP versions The PHP version can be modified by making a (or modifying an existing) file in `/data/wordpress/nginx/*.conf` that contains the line: ``` -set $mode php7.3; +set $mode php8.0; ``` -Currently available options are: `php7`, `php7.3`, `php7.2`, `php7.0`. The option `php7` is an alias for `php7.0`. Seravo used to also offer PHP5 and [Facebook's Hip Hop Virtual Machine (HHVM)](http://hhvm.com) but not anymore, as those have been obsoleted by newer PHP versions. +Currently available options are: `php8.0`, `php7.4`, `php7.3` and `php7.2`. The older PHP options have been deprecated. Seravo used to also offer PHP5 and [Facebook's Hip Hop Virtual Machine (HHVM)](http://hhvm.com) but not anymore, as those have been obsoleted by newer PHP versions. If for some reason an older PHP version is preferred, just add a line to Nginx conguration for example in a file named `/data/wordpress/nginx/php.conf` ``` @@ -31,7 +27,7 @@ The same instructions work both in our Vagrant box and on the live server. When ## PHP modules and extensions -Seravo currently offers PHP 7.4 with the following modules and extensions: +Seravo currently offers PHP 8.0 with the following modules and extensions: ``` $ php -m