Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 879 Bytes

File metadata and controls

32 lines (20 loc) · 879 Bytes

PHP version per site

One of Devaron's main features is the ability to route a different PHP version to each local site.

Most local PHP environments switch PHP globally. That is fine until you need to maintain several projects at once:

  • an old WordPress project
  • a legacy Laravel app
  • a modern Symfony app
  • a new PHP 8.4 project

With Devaron, each site can keep its own PHP version while a global default still exists as a fallback.

Example

www/old-client-site     -> PHP 7.4
www/current-api         -> PHP 8.2
www/new-laravel-app     -> PHP 8.4

The goal is to remove the friction of switching PHP manually every time you move between projects.

Works with Apache and Nginx

The per-site PHP routing is designed to work with both bundled web servers:

  • Apache
  • Nginx

That means you can keep the server workflow close to what your project needs.