-
Notifications
You must be signed in to change notification settings - Fork 0
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
PHP extensions #8
Comments
However, all these increase the PHP binary size, it might be valuable looking into providing these as extra layers like Bref does, but instead of hosting them somewhere, providing a |
See #11 |
See #12 |
https://packagist.org/packages/aws/aws-sdk-php and https://packagist.org/packages/async-aws/core require SimpleXML |
Rolled out in https://github.com/xp-forge/lambda/releases/tag/v3.1.0 |
ZLib could be implemented via https://gist.github.com/chobie/6659137 as a fallback:
|
...but on the other hand, simply adding the Before:
After:
(~12 Kilobytes) |
Rolled out in https://github.com/xp-forge/lambda/releases/tag/v4.1.0 |
The configure line used is: ./configure \
--prefix=/opt/php/ \
--without-sqlite3 \
--with-zlib \
--with-openssl \
--enable-bcmath \
--disable-pdo |
Currently, we compile with the following extensions enabled:
Looking at https://bref.sh/docs/environment/php.html#extensions-installed-and-enabled and from scanning through use cases, the following could be interesting:
zlib - if we want to create ZIP files, HTTP compression- see PHP extensions #8 (comment)libxml, dom, xml, xmlreader, xmlwriter - for processing XML and HTML- see Enable XML extensions #11The following extensions don't seem to make sense for an AWS lambda enviromment:
SimpleXML - covered by XP Framework's XML APIs- used by AWS SDK, see PHP extensions #8 (comment)The text was updated successfully, but these errors were encountered: