Source: blog.laravel.com

Forge: Multiple PHP Installations

Category: Laravel, PHP, api

Today we're pleased to announce that Laravel Forge now supports managing multiple versions of PHP on a single server! Once installed, you may assign a specific PHP version to any site on your server. You may even run different sites on different PHP versions - all within the same server! In addition, you may choose your preferred PHP version when creating new queue workers.

Other versions may be accessed using their version numbers: You can also use the new FORGE_PHP and FORGE_PHP_FPM environment variables within your deployment scripts to automatically use the selected default binary and FPM process names: We have updated the Forge API to reflect the new PHP changes.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners