Applications
Each application on your server can run a different PHP version. Switch between PHP 7.4 and PHP 8.3 per app without affecting anything else.
Open your server, click "Applications", and click the application you want to change.
Click the "Control" tab (or "Settings") inside the application.
Find the "PHP Version" dropdown and select the version you want (e.g. switch from 8.1 to 8.3).
Click "Save" or the update button. DeployFly creates a new PHP-FPM pool for this app and reloads Nginx automatically.
Create a temporary file at /var/www/yourdomain.com/public/phpinfo.php containing <?php phpinfo(); ?> and visit it. Delete the file after confirming the version.
<?php phpinfo();
Watch out
Tips