Skip to content

Commit

Permalink
Update documentation regarding SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Jul 22, 2024
1 parent ae6363e commit 838cffe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions php-82/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ RUN make && make install
# SQLite
# Since PHP 7.4, libsqlite must be installed (https://github.com/php/php-src/blob/99b8e67615159fc600a615e1e97f2d1cf18f14cb/UPGRADING#L616-L619)
# Laravel 11 requires SQLite 3.35.0 or higher. The system version is 3.7.17.
# See https://github.com/brefphp/aws-lambda-layers/pull/185
# https://laravel.com/docs/11.x/upgrade#sqlite-minimum-version
# https://www.sqlite.org/changes.html
# Needed by:
# - php
Expand All @@ -400,7 +400,6 @@ RUN make && make install
# gettext-devel : needed for the --with-gettext flag
# libicu-devel : needed for intl
# libxslt-devel : needed for the XSL extension
# sqlite-devel : Since PHP 7.4 this must be installed (https://github.com/php/php-src/blob/99b8e67615159fc600a615e1e97f2d1cf18f14cb/UPGRADING#L616-L619)
RUN LD_LIBRARY_PATH= yum install -y readline-devel gettext-devel libicu-devel libxslt-devel


Expand Down
3 changes: 1 addition & 2 deletions php-83/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ RUN make && make install
# SQLite
# Since PHP 7.4, libsqlite must be installed (https://github.com/php/php-src/blob/99b8e67615159fc600a615e1e97f2d1cf18f14cb/UPGRADING#L616-L619)
# Laravel 11 requires SQLite 3.35.0 or higher. The system version is 3.7.17.
# See https://github.com/brefphp/aws-lambda-layers/pull/185
# https://laravel.com/docs/11.x/upgrade#sqlite-minimum-version
# https://www.sqlite.org/changes.html
# Needed by:
# - php
Expand All @@ -400,7 +400,6 @@ RUN make && make install
# gettext-devel : needed for the --with-gettext flag
# libicu-devel : needed for intl
# libxslt-devel : needed for the XSL extension
# sqlite-devel : Since PHP 7.4 this must be installed (https://github.com/php/php-src/blob/99b8e67615159fc600a615e1e97f2d1cf18f14cb/UPGRADING#L616-L619)
RUN LD_LIBRARY_PATH= yum install -y readline-devel gettext-devel libicu-devel libxslt-devel


Expand Down
5 changes: 3 additions & 2 deletions php-84/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,10 @@ RUN make && make install
# SQLite
# Since PHP 7.4, libsqlite must be installed (https://github.com/php/php-src/blob/99b8e67615159fc600a615e1e97f2d1cf18f14cb/UPGRADING#L616-L619)
# PHP 8.4 requires SQLite 3.13.0 or higher because the build uses the
# `SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION` constant. Moreover, Laravel 11
# requires SQLite 3.35.0 or higher. The system version is 3.7.17.
# `SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION` constant.
# See https://github.com/brefphp/aws-lambda-layers/pull/185
# Moreover, Laravel 11 requires SQLite 3.35.0 or higher. The system version is 3.7.17.
# https://laravel.com/docs/11.x/upgrade#sqlite-minimum-version
# https://www.sqlite.org/changes.html
# Needed by:
# - php
Expand Down

0 comments on commit 838cffe

Please sign in to comment.