Skip to content

Commit 7b2b5fa

Browse files
driusanircmaxell
authored andcommitted
Document transient PHP extension dependencies (#12)
* Document transient PHP extension dependencies Building PHP 7.4 from source with only `--with-ffi` doesn't work, because composer itself demands openssl, and phpunit demands mbstring, so this updates the README to also document the transient extension dependencies and avoid a naive user needing to re-build PHP 7.4 multiple times when following the instructions. * Add zlib extension You don't come across the zlib dependency until runtime, when the \Pre\Plugin\Parser class tries to call gzencode
1 parent 4770be0 commit 7b2b5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ So here we go :)
88

99
# Installation
1010

11-
Install PHP 7.4, being sure to enable the FFI extension (`--with-ffi`).
11+
Install PHP 7.4, being sure to enable the FFI extension, OpenSSL extension, mbstring extension, and zlib extension (`--with-ffi --with-openssl --enable-mbstring --with-zlib`).
1212

1313
Also, you need to install the system dependency `libgccjit`. On Ubuntu:
1414

0 commit comments

Comments
 (0)