Menu

PHP on Flywheel

Updated on June 15th, 2022

PHP is the open-source scripting language that WordPress is built on. Keeping your site’s PHP version up-to-date allows your site to utilize all of PHP’s latest features and improvements, resulting in optimized security and speed.


Table of Contents:

1. PHP versions available on Flywheel
2. How to check a site’s PHP version
3. How to filter your sites by PHP version
4. How to request a PHP upgrade
5. Installed PHP modules
6. Unsupported PHP modules
7. Disabled PHP functions
8. FAQ


PHP versions available on Flywheel

Flywheel currently supports the following PHP versions, which are fully compatible with WordPress and receive periodic updates from the PHP group:

PHP 8.1
PHP 7.4

Note

All new sites created on Flywheel are spun up with PHP 8.1 by default.

How to check a site’s PHP version

  1. Click Sites in the main menu to view all your sites.
  2. Click on the desired site name.
  3. Go to the Advanced tab, the site’s PHP version is on the right sidebar.

How to filter your sites by PHP version

  1. Click Sites in the main menu to view all your sites.
  2. Click Filter Sites.
  3. Under Site Settings, select a PHP version and only the sites on that version will display.

How to request a PHP upgrade

Flywheel’s awesome support team can quickly upgrade your sites to the latest version. Just reach out to our Happiness Engineers!

Note

Legacy (aka non-cloud) bulk plans share an instance-wide PHP version, which means that all sites on the bulk plan must be on the same PHP version. An upgrade to PHP on this type of plan would affect multiple sites, so only the bulk plan’s owner can submit a request in this case.

Installed PHP modules

Flywheel offers a specific set of platform-wide server modules which cannot be modified, removed, or added. The list below includes all modules installed on our cloud platform. If your site is on Flywheel’s Legacy platform, please reach out to support for a current list.

bcmath
calendar
cgi-fcgi
Core
ctype
curl
date
dom
exif
fcptools
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
imagick
imap
json
ldap
libxml
mbstring
memcache
mysqli
mysqlnd
newrelic
openssl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

Unsupported PHP modules

ionCube

Flywheel does not support ionCube on PHP 7.4 and above. The ionCube Loader module is not available on Flywheel due to the significant performance issues it causes.


Disabled PHP functions

Like many hosting providers, Flywheel disables a handful of PHP functions to help ensure secure and performant servers for all of our clients. Because we take security very seriously, our settings are somewhat more locked down than most.

pcntl_alarm
pcntl_fork
pcntl_waitpidpcntl_wait
pcntl_wifexited
pcntl_wifstopped
pcntl_wifsignaled
pcntl_wifcontinued
pcntl_wexitstatus
pcntl_wtermsig
pcntl_wstopsig
pcntl_signal
pcntl_signal_dispatch
pcntl_get_last_error
pcntl_strerror
pcntl_sigprocmask
pcntl_sigwaitinfo
pcntl_sigtimedwait
pcntl_exec
pcntl_getpriority
pcntl_setpriority
php_uname
getmyuid
getmypid
passthru
socket_listen
diskfreespace
disk_free_space
link
ignore_user_abort
shell_exec
dl
exec
system
highlight_file
source
show_source
fpassthru
virtual
posix_ctermid
posix_getcwd
posix_getegid
posix_geteuid
posix_getgid
posix_getgrgid
posix_getgrnam
posix_getgroups
posix_getlogin
posix_getpgid
posix_getpgrp
posix_getpid
posix_getppid
posix_getpwnam
posix_getpwuid
posix_getrlimit
posix_getsid
posix_getuid
posix_isatty
posix_kill
posix_mkfifo
posix_setegid
posix_seteuid
posix_setgid
posix_setpgid
posix_setsid
posix_setuid
posix_times
posix_ttyname
posix_uname
proc_open
proc_close
proc_get_status
proc_nice
proc_terminate
opcache_get_configuration
opcache_invalidate
opcache_is_script_cached
opcache_compile_file
phpinfo
popen

FAQ

Can I use PHP 7.0-7.3 on Flywheel?

No. These versions have been (or will soon be) deprecated and are no longer supported or maintained by the PHP Group, so they are not available on Flywheel.

Can I upgrade the PHP version myself?

Not yet. We are looking to add this functionality to the Flywheel dashboard in the future!

Does Flywheel support ionCube?

No, Flywheel does not support ionCube on PHP 7.4 and above. The ionCube Loader module is not available on Flywheel due to the significant performance issues it causes.

Was this article helpful?

Getting Started

New to Flywheel? Start here, we've got all the information you'll need to get started and launch your first site!

View all

Account Management

Learn all about managing your Flywheel user account, Teams and integrations.

View all

Billing

Everything about billing, invoices and payments can be found here.

View all

Features

Flywheel hosting plans include a ton of great features. Learn about how to get a free SSL certificate, set up a staging site, and more!

View all

Platform Info

All the server and setting info you'll need to help you get the most out of your Flywheel hosting plan!

View all

Site Management

Tips and tricks for managing your sites on Flywheel, including going live, troubleshooting issues and migrating or cloning sites.

View all

Growth Suite

Learn more about Growth Suite, our all-in-one solution for freelancers and agencies to grow more quickly and predictably.

View all

Managed Plugin Updates

Learn more about Managed Plugin Updates, and how you can keep your sites up to date, and extra safe.

View all

 

Flywheel help

Help is just a click away! Log into the Flywheel dashboard to instantly chat with an expert, open a ticket, or follow along with in-depth documentation. We happily offer support 24 hours a day, 7 days a week, 365 days a year!

Log in

Try Flywheel today

Launch your next WordPress site in minutes.

 Free migrations  24/7/365 support  14 day demo sites