Last active
September 25, 2021 23:26
-
-
Save euberdeveloper/77bb33b35c99bd90426197a61938919e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install phpenv | |
curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer \ | |
| bash | |
# --- COPY WHAT IS DISPLAYED ON THE CONSOLE IN THE END OF YOUR BASHRC --- | |
# Install missing libraries used to install various php versions by phpenv | |
apt install libxml2-dev | |
apt install libjpeg-dev | |
apt install libonig-dev | |
apt install libtidy-dev | |
apt install libxslt1-dev | |
apt install libzip-dev | |
apt install autoconf | |
apt install bison | |
apt install libbison-dev | |
apt install libcurl4-openssl-dev && cd /usr/include && ln -s x86_64-linux-gnu/curl | |
https://blog.hanhans.net/2020/06/08/php-compile-with-focal/ | |
apt install re2c | |
https://i-mscp.net/thread/19846-error-compiling-php-versions-for-php-switcher/?postID=61322#post61322 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment