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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners