https://github.com/aiir/php71-mysql-aws-lambda-layer
AWS Lambda layer that adds the MySQL modules for PHP 7.1
https://github.com/aiir/php71-mysql-aws-lambda-layer
Last synced: about 1 month ago
JSON representation
AWS Lambda layer that adds the MySQL modules for PHP 7.1
- Host: GitHub
- URL: https://github.com/aiir/php71-mysql-aws-lambda-layer
- Owner: aiir
- Archived: true
- Created: 2018-12-20T15:36:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-20T15:36:37.000Z (over 6 years ago)
- Last Synced: 2024-11-02T06:33:53.272Z (6 months ago)
- Language: Shell
- Size: 0 Bytes
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-layers - `aiir/php71-mysql-aws-lambda-layer` - lambda-layer`](https://github.com/stackery/php-lambda-layer) | N/A | (Layers / Utilities)
README
# PHP Layer For AWS Lambda
Adds the PHP 7.1 MySQL modules to your Lambda environment via a layer.
The following MySQL-related modules are placed in `/opt/lib/php/7.1/modules`:
```
mysqli.so
mysqlnd.so
pdo.so
pdo_mysql.so
```To make use of these, your `php.ini` needs to load them:
```
extension=mysqlnd.so
```