Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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