From c039e0b582c9986067f8836cf52171718937f7ea Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Sat, 7 Jun 2025 10:35:48 +0200 Subject: [PATCH] Add forge excimer instructions --- .../php/guides/laravel/profiling/index.mdx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/platforms/php/guides/laravel/profiling/index.mdx b/docs/platforms/php/guides/laravel/profiling/index.mdx index e030cfbe005e3..43088d1f8b703 100644 --- a/docs/platforms/php/guides/laravel/profiling/index.mdx +++ b/docs/platforms/php/guides/laravel/profiling/index.mdx @@ -59,6 +59,27 @@ phpenmod -s fpm excimer phpenmod -s apache2 excimer ``` +## Laravel Forge + +To install `excimer` on Laravel Forge, you need to SSH into your server and run: + +```bash +sudo pecl install excimer +``` + +Afterwards you need to add the extension to your `php.ini` for Forge to pick up. +Navigate to your server in Forge. +Go to PHP -> click on the ... (of the version that is running) -> e.g. Edit PHP 8.3 FPM Configuration + +Navigate to the extension section and add: + +```bash +extension=excimer.so +``` + +Then you should be good to go and excimer should run when you configure a profiling sample rate. + + ## Enable Tracing Sentry's tracing product has to be enabled in order for Profiling to work.