Learn how to manage PHP versions on your Forge server.
php
binary on your server will point to the installed version selected at the time of its creation.
Once the server has been created, Forge makes it easy to install additional versions alongside the default version. In the following documentation we will discuss how to manage these additional PHP versions.
phpx.x
, replacing the x.x
with the version number (e.g. php8.4
). The php
binary will always point to the active CLI version (if changed from the default).
1024MB
is 1GB
.
server:manage-php
permission to manage PHP installations and configurations. This permission is also required to manage integrations with Blackfire.io and Papertrail.