A memorandum of personal phpenv install

I don't want to put PHP in my system!

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.

Introduction of phpenv

Let's have fun with anyenv https://github.com/anyenv/anyenv

php build

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]

that's all!

How was it? (← I felt like I had to put something in)

Recommended Posts

A memorandum of personal phpenv install
A memorandum of the FizzBuzz problem
Building a CICD pipeline using Docker (personal memorandum)
[Ruby on Rails] A memorandum of layout templates
[Rails tutorial] A memorandum of "Chapter 11 Account Activation"
Install docker-compose on a Graviton 2 instance of AWS EC2
A memorandum of addiction to Spring Boot2 x Doma2
Docker Machine (personal memorandum)
[Java] When writing the source ... A memorandum of understanding ①
Construction of data analysis environment using Docker (personal memorandum)
Docker network (personal memorandum)
Creating a docker host on AWS using Docker Machine (personal memorandum)
A memorandum of the environment variable "JAVA_HOME" path setting procedure
How to Burning a Install Disk of Windows from Ubuntu
[Personal memorandum] Effect of javafx VBox / setOnAction by Eclipse, etc.
Install Ruby 3.0.0 Preview 1 with a combination of Homebrew and rbenv
Creating a batch of Liferay
Memorandum of understanding about LOD.
What is Docker-compose? (Personal memorandum)
A brief explanation of commitAllowingStateLoss
"Bundle install" causes a lot of git differences for gem files