blackfireio / php-sdk

The Blackfire PHP SDK
https://blackfire.io
MIT License
150 stars 22 forks source link

[OUT OF DATE DOCS] - AWS Lambda (PHP) #65

Closed aran112000 closed 1 year ago

aran112000 commented 1 year ago

Documentation link: https://blackfire.io/docs/integrations/paas/aws-lambda

Bref layer should read: ${bref-extra:blackfire-php-74}

Not: ${bref:extra-blackfire-php-74}

Also, the extension path is wrong this was updated so all extensions are now loaded under /opt/bref/extensions/. This isn't needed to be declared at all anymore though, so this line can be completely removed from your docs: - extension=/opt/bref-extra/blackfire.so

aran112000 commented 1 year ago

Would also recommend updating the PHP version referenced on the layers to something more modern/supported. There's a PR I filed last night to add support for PHP 8.2 (https://github.com/brefphp/extra-php-extensions/pull/421), currently the most up-to-date would be PHP 8.1:

${bref-extra:blackfire-php-81}

romainneutron commented 1 year ago

Thanks for your report. Upcoming version of the documentation will fix this.