Skip to content

Add forge excimer instructions #13954

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/platforms/php/guides/laravel/profiling/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down