bref
bref copied to clipboard
Serverless PHP on AWS Lambda
If we override `PHP_INI_SCAN_DIR` then the "special php.ini" files will not be used. Ie: https://github.com/brefphp/bref/blob/0.5.9/runtime/layers/fpm/php.ini
The [Symfony page](https://bref.sh/docs/frameworks/symfony.html) in the documentation should be updated with information about `Kernel.terminate`. We should tell the Symfony developer not to put work after the request is sent because the...
I am opening this issue to expose the problem and discuss solutions. When deploying a CloudFormation (`template.yaml`) stack for the first time, if it fails for any reason the stack...
Following the example code for Symfony and deploying, the request fails with the response `{"message": "Internal server error"}`. Checking CloudWatch logs shows 2 relevant entries: ``` Fatal error: Allowed memory...
Is there a reason that additional values from the request context in the lambda event are not read into the server global? In order to determine any sort of trusted...
**Description:** We are deploying our Laravel app on AWS Lambda using Bref plugin. We have been running the artisan migrate command in the Codebuild environment for sometime however it has...
I am experiencing a significant performance issue with the AWS SDK for PHP when running on Bref PHP 8.1 and subsequent versions. Specifically, I have observed that accessing AWS with...
**Description:** I've deployed a simple function to create a key pair, using spatie/crypto. When i call the function `openssl_pkey_new` i get false instead of a `OpenSSLAsymmetricKey` **How to reproduce:** -...
**Description:** When deploying PHP 8.3 with FPM it seems to pickup OPENSSL_CONF from the fine but if that configuration requests legacy provider for OpenSSL 3 it will not work. It...
**Description:** It seems that logging to stderr with monolog (using Symfony 6.3) has some kind of limit in the web function, with php-fpm runtime. Whenever some threshold in amount (and...