Skip to navigationSkip to main contentSkip to footerScaleway Docs HomepageAsk our AI
Ask our AI

Functions runtimes

The Serverless Functions runtimes are the environment in which your code runs. We currently support five languages:

  • Javascript (NodeJS runtime)
  • Python
  • Go
  • PHP
  • Rust
Tip

For more flexible runtime management and dependencies, check How to migrate from Functions to Containers.

Runtime lifecycle

New runtimes are added periodically, based on user demand.

StatusDescription
Beta (beta)The runtime has been released recently, users can test it and provide feedback, but it is not yet suitable for a production environment.
General Availability (available)The runtime is available to be used in a production environment.

When runtimes are no longer supported, they pass through different phases:

StatusDescription
Deprecated (deprecated)The runtime is still available, but a warning announcing the upcoming End Of Support displays when a new function is created.
End Of Support (end_of_support)It is no longer possible to create a new function with this runtime; however, functions that already use it, can still be updated. A message with the date of End of Life is displayed.
End Of Life (end_of_life)Functions that use this runtime will still be working, but it is no longer possible to update them.

Runtime upgrade

To modify a runtime version, you simply need to change the runtime value.

For example, to migrate from node22 to node24, change the runtime field and redeploy your function. Deployed runtimes are forward-compatible but not necessarily backward-compatible.

Once a function is in a deprecated, end_of_support, or end_of_life status, you are invited to upgrade your ongoing runtime to take advantage of new features, better performance, and security fixes.

Available runtimes

Node.js

NameStatusInformation
Node 8 (node8)End of Life
Node 10 (node10)End of Life
Node 14 (node14)End of Life
Node 16 (node16)End of Life
Node 17 (node17)End of Life
Node 18 (node18)End of Support
Node 19 (node19)End of Life
Node 20 (node20)End of Support
Node 22 (node22)Available
Node 24 (node24)Available
Node 26 (node26)Available

Python

NameStatusInformation
Python 2 (python)End of Life
Python 3 (python3)End of Life
Python 3.7 (python37)End of Life
Python 3.8 (python38)End of Support
Python 3.9 (python39)Available
Python 3.10 (python310)End of Support
Python 3.11 (python311)Available
Python 3.12 (python312)Available
Python 3.13 (python313)Available
Python 3.14 (python314)Available

Go

NameStatusInformation
Generic Go (golang)End of Life
Go 1.13 (go113)End of Life
Go 1.17 (go117)End of Life
Go 1.18 (go118)End of Life
Go 1.19 (go119)End of Life
Go 1.20 (go120)End of Support
Go 1.21 (go121)End of Support
Go 1.22 (go122)End of Support
Go 1.23 (go123)End of Support
Go 1.24 (go124)End of Support
Go 1.25 (go125)Available
Go 1.26 (go126)Available

PHP

NameStatusInformation
PHP 8.2 (php82)End of Support
PHP 8.3 (php83)End of Support
PHP 8.4 (php84)Available
PHP 8.5 (php85)Available

Rust

NameStatusInformation
Rust 1.65 (rust165)End of Life
Rust 1.79 (rust179)End of Support
Rust 1.85 (rust185)End of SupportEdition 2024
Rust 1.96 (rust196)AvailableEdition 2024

Runtimes additional information

This page contains useful information on how Serverless Functions runtimes are built and which extensions/libraries/dependencies are loaded for each of them.

PHP

PHP 8.2 runtime configuration

ParameterValue
upload_max_filesize2M
post_max_size8M
max_execution_time0
log_errorsOff
file_uploads{}On

PHP 8.2 and 8.3 supported extensions

Supported PHP extensions for the PHP 8.2 (External link) and PHP 8.3 (External link) runtime.

PHP extensions
amqp✓apcu✓ast✓bcmath✓
bz2✓calendar✓Core✓csv✓
ctype✓curl✓date✓dba✓
ddtrace✓decimal✓dom✓ds✓
enchant✓ev✓event✓excimer✓
exif✓FFI✓fileinfo✓filter✓
ftp✓gd✓geospatial✓gettext✓
gmp✓gnupg✓grpc✓hash✓
http✓iconv✓igbinary✓imagick✓
imap✓inotify✓intl✓ion✓
json✓json_post✓ldap✓libsmbclient✓
libxml✓luasandbox✓lz4✓lzf✓
mailparse✓maxminddb✓mbstring✓mcrypt✓
memcache✓memcached✓mongodb✓msgpack✓
mysqli✓mysqlnd✓OAuth✓oci8✓
odbc✓opencensus✓openssl✓parle✓
pcntl✓pcov✓pcre✓PDO✓
pdo_dblib✓PDO_Firebird✓pdo_mysql✓PDO_OCI✓
PDO_ODBC✓pdo_pgsql✓pdo_sqlite✓pdo_sqlsrv✓
pgsql✓Phar✓php_trie✓posix✓
protobuf✓pspell✓random✓raphf✓
rdkafka✓readline✓redis✓Reflection✓
SeasLog✓session✓shmop✓simdjson✓
SimpleXML✓smbclient✓snappy✓snmp✓
soap✓sockets✓sodium✓solr✓
SPL✓SPX✓sqlite3✓sqlsrv✓
ssh2✓standard✓Stomp✓swoole✓
sysvmsg✓sysvsem✓sysvshm✓tidy✓
timezonedb✓tokenizer✓uploadprogress✓uuid✓
vips✓xdiff✓xlswriter✓xml✓
xmldiff✓xmlreader✓xmlrpc✓xmlwriter✓
xsl✓yac✓yaml✓Zend OPcache✓
zephir_parser✓zip✓zlib✓zstd✓

PHP 8.4 supported extensions

Supported PHP extensions for the PHP 8.4 (External link) runtime.

PHP extensions
amqp✓apcu✓ast✓bcmath✓
bz2✓calendar✓Core✓csv✓
ctype✓curl✓date✓dba✓
ddtrace✓decimal✓dom✓ds✓
enchant✓ev✓event✓excimer✓
exif✓FFI✓fileinfo✓filter✓
ftp✓gd✓geospatial✓gettext✓
gmp✓gnupg✓grpc✓hash✓
http✓iconv✓igbinary✓imagick✓
imap✓inotify✓intl✓ion✓
json✓json_post✓ldap✓libsmbclient✓
libxml✓luasandbox✓lz4✓lzf✓
mailparse✓maxminddb✓mbstring✓mcryptx
memcache✓memcached✓mongodb✓msgpack✓
mysqli✓mysqlnd✓OAuth✓oci8✓
odbc✓opencensusxopenssl✓parle✓
pcntl✓pcov✓pcre✓PDO✓
pdo_dblib✓PDO_Firebird✓pdo_mysql✓PDO_OCI✓
PDO_ODBC✓pdo_pgsql✓pdo_sqlite✓pdo_sqlsrv✓
pgsql✓Phar✓php_trie✓posix✓
protobuf✓pspell✓random✓raphf✓
rdkafka✓readline✓redis✓Reflection✓
SeasLogxsession✓shmop✓simdjson✓
SimpleXML✓smbclient✓snappy✓snmp✓
soap✓sockets✓sodium✓solr✓
SPL✓SPX✓sqlite3✓sqlsrv✓
ssh2✓standard✓Stomp✓swoole✓
sysvmsg✓sysvsem✓sysvshm✓tidy✓
timezonedb✓tokenizer✓uploadprogress✓uuid✓
vips✓xdiff✓xlswriter✓xml✓
xmldiff✓xmlreader✓xmlrpc✓xmlwriter✓
xsl✓yac✓yaml✓Zend OPcache✓
zephir_parser✓zip✓zlib✓zstd✓
Still need help?

Create a support ticket
No Results