Issue
Unable to see profiles in Sentry after completing the PHP profiling setup.
Applies To
PHP SDK Users
Customers that have access to Profiling
Resolution
Please see the troubleshooting steps below, for ensuring that the Excimer extension is installed and enabled correctly.
Check PHP Version:
Verify the PHP version you are using. We suggest upgrading to version 8.2 at least. Run the following command to check your PHP version:
php -v
Ensure The Excimer Extension is Enabled:
Ensure the extension is enabled for the correct PHP version. Run the following command:
php -m
Confirm that "excimer" appears in the list of enabled modules.
If not, use the following command to install and configure the Excimer profiler:
sudo apt-get install php-excimer
Verify the Excimer extension is installed in the correct PHP version folder:
Check the directory where Excimer is installed:
ls /etc/php
Restart the service:
After re-installing the Excimer extension, restart the php-fpm service:
service php8.1-fpm restart
Finally:
Check the official Excimer documentation for any specific instructions or troubleshooting steps related to your PHP version. Consider trying alternative installation methods suggested in the Excimer documentation.
