I think that it is foolish to install PHP with the system package manager in the development machine or the environment that I always use and pollute the system, so I want to use phpenv as much as possible and complete it only with user land.
Let's have fun with anyenv https://github.com/anyenv/anyenv
Since it is a development environment, I will put it in development for the time being. I want you to do parallel processing when building later, so specify the make variable as well.
export PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j $(nproc)"
phpenv install -i development -v [Any version]
How was it? (← I felt like I had to put something in)
Recommended Posts