Change a server's default PHP CLI version
One step with Laravel. We can help you get access.
Get something done
Change a server's default PHP CLI version
with Laravel · IT Infrastructure Management
Use Laravel: its Forge Servers API lets you change a server's default PHP CLI version in a single step (PUT /orgs/{organization}/servers/{server}/php/cli-version). capabilities.work can help you get signed up and connected.
- How do I switch the command-line PHP version on a server?
- Can the CLI use a different PHP version than my sites?
Say it to your AI assistant
- Set the PHP CLI version on server {server} in {organization} to {php_version}.
- Make PHP {php_version} the command-line default on server {server}.
For your developer
PUT /orgs/{organization}/servers/{server}/php/cli-version in Forge Servers API. Full spec on APIs.io.