File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 61
61
- if [[ $VERSION =~ ^8.* ]]; then sudo apt-get -y install argon2 php-pear libargon2-0 libargon2-0-dev re2c php-dev libonig-dev; fi
62
62
- sudo ln -s /usr/include/x86_64-linux-gnu/curl/ /usr/local/include
63
63
- command -v expect || sudo apt-get install expect
64
+ # Install re2c required by PHP8.3 and above
65
+ - wget https://github.com/skvadrik/re2c/releases/download/3.1/re2c-3.1.tar.xz
66
+ - tar -xf ./re2c-3.1.tar.xz
67
+ - cd re2c-3.1 && ./configure && make && sudo make install
64
68
- |
65
69
if ! command -v phpenv; then
66
70
pushd $HOME
84
88
- sudo apt-get install -y libicu-dev re2c
85
89
- if [[ $VERSION =~ ^8.* ]]; then sudo apt-get -y install php-pear php-dev re2c libonig-dev build-essential; fi
86
90
- command -v expect || sudo apt-get install expect
91
+ # Install re2c required by PHP8.3 and above
92
+ - wget https://github.com/skvadrik/re2c/releases/download/3.1/re2c-3.1.tar.xz
93
+ - tar -xf ./re2c-3.1.tar.xz
94
+ - cd re2c-3.1 && ./configure && make && sudo make install
87
95
- |
88
96
if ! command -v phpenv; then
89
97
pushd $HOME
You can’t perform that action at this time.
0 commit comments