Skip to content

Commit

Permalink
Update PHP docs to mention PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ottok committed Dec 10, 2020
1 parent df28370 commit 325c31d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions _posts/2016-06-21-php7-hhvm.md
Original file line number Diff line number Diff line change
@@ -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`
```
Expand All @@ -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
Expand Down

0 comments on commit 325c31d

Please sign in to comment.