PHP 7 versions
Summary: Seravo.com always offers the latest version of PHP for fast and secure sites
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.
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;
Currently available options are:
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) 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
set $mode php7.3;
Remember to reload the Nginx configuration afterwards with
The same instructions work both in our Vagrant box and on the live server. When you make the Nginx configuration part of your development repository, all your development, staging and production environments will use the same PHP back-end across the board.
Seravo currently offers PHP 7.4 with the following modules and extensions:
$ php -m [PHP Modules] bcmath calendar Core ctype curl date dom exif FFI fileinfo filter ftp gd gettext gmp hash iconv igbinary imagick imap intl json ldap libxml mbstring memcache mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline redis Reflection session shmop SimpleXML soap sockets sodium SPL sqlite3 ssh2 standard sysvmsg sysvsem sysvshm tideways tidy tokenizer xdebug xml xmlreader xmlrpc xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Xdebug Zend OPcache
You can also obtain this list by running
php -m on the command line. An even more extended list of PHP features and settings enabled can be obtained with
php -i. If you have requests about new modules or features, you can contact our customer support or file an issue at https://github.com/Seravo/WordPress/.