Skip to content
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

Enable mbstring #12

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Enable mbstring #12

wants to merge 2 commits into from

Conversation

thekid
Copy link
Member

@thekid thekid commented Sep 24, 2021

  • Install oniguruma-devel
  • Compile PHP with --enable-mbstring
  • Deal with libonig.so.2 in layer - 🤔

@thekid thekid mentioned this pull request Sep 24, 2021
@thekid thekid added enhancement New feature or request help wanted Extra attention is needed labels Sep 24, 2021
@thekid
Copy link
Member Author

thekid commented Sep 24, 2021

Deal with libonig.so.2 in layer - 🤔

Pref packs it into the layer file (which has a total size of almost 9 megabytes) and compiles PHP with LDFLAGS="-L${INSTALL_DIR}/lib64 -L${INSTALL_DIR}/lib, see https://github.com/brefphp/bref/blob/master/runtime/base/php-81.Dockerfile

$ unzip -l 'C:\Users\timmf\Downloads\php-81-9329ecc5-0e5a-4b68-bb10-af7a1cd9c88f.zip' | grep onig
   577752  09-24-2021 17:50   bref/lib/libonig.so.5.1.0
       16  09-24-2021 17:41   bref/lib/libonig.so
       16  09-24-2021 17:41   bref/lib/libonig.so.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant