Applications

How to control an application (restart, cache, maintenance)

~2 min read

The Application Control panel lets you restart PHP-FPM for the app, flush the OPcache, toggle maintenance mode, and run Composer commands — all from the browser.

Before you start

  • Application already created

Steps

  1. 1

    Open Application Control

    Go to your server → Applications → click the application name → click "Control" in the application menu.

  2. 2

    Restart PHP-FPM

    Click "Restart PHP-FPM" to restart only this application's PHP-FPM pool. Use this after changing PHP.ini settings or installing a PHP extension. Unlike a full service restart, it only affects this application.

  3. 3

    Flush OPcache

    Click "Flush OPcache" to clear the PHP bytecode cache for this application. Required after deploying code changes if OPcache caches stale files.

  4. 4

    Enable maintenance mode

    Toggle "Maintenance Mode" to show a maintenance page to visitors. The app's actual files are untouched — Nginx serves a static maintenance page instead. Toggle off to restore normal operation.

  5. 5

    Run Composer

    In the "Composer" section, click "Install Dependencies" or "Update Dependencies" to run `composer install` or `composer update` in the application's root directory. The command output streams in real time.

Tips

  • Use maintenance mode when running database migrations or switching PHP versions — it prevents users from hitting errors mid-deployment.
  • Flush OPcache after every code deployment to ensure PHP serves the latest version of your files.

Related guides