Skip to content

Commit c039e0b

Browse files
authored
Add forge excimer instructions
1 parent 42d53ee commit c039e0b

File tree

1 file changed

+21
-0
lines changed
  • docs/platforms/php/guides/laravel/profiling

1 file changed

+21
-0
lines changed

docs/platforms/php/guides/laravel/profiling/index.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,27 @@ phpenmod -s fpm excimer
5959
phpenmod -s apache2 excimer
6060
```
6161

62+
## Laravel Forge
63+
64+
To install `excimer` on Laravel Forge, you need to SSH into your server and run:
65+
66+
```bash
67+
sudo pecl install excimer
68+
```
69+
70+
Afterwards you need to add the extension to your `php.ini` for Forge to pick up.
71+
Navigate to your server in Forge.
72+
Go to PHP -> click on the ... (of the version that is running) -> e.g. Edit PHP 8.3 FPM Configuration
73+
74+
Navigate to the extension section and add:
75+
76+
```bash
77+
extension=excimer.so
78+
```
79+
80+
Then you should be good to go and excimer should run when you configure a profiling sample rate.
81+
82+
6283
## Enable Tracing
6384

6485
Sentry's tracing product has to be enabled in order for Profiling to work.

0 commit comments

Comments
 (0)