Home >Backend Development >PHP Tutorial >What is the usage of -fs in brew install example -fs and what is bottle block?

What is the usage of -fs in brew install example -fs and what is bottle block?

WBOY
WBOYOriginal
2016-08-27 09:06:481217browse

Because I want to install mcrypt, I use brew install php56-mcrypt, but after the installation, I check that mcrypt is not loaded in phpinfo(). I persist and find: What is the usage of -fs in brew install example -fs and what is bottle block?

The installed php has debug mode turned on, but mcrypt does not. I found an issue on github:
https://github.com/Homebrew/h...
It can be solved by using brew install php56-mcrypt -fs , it can indeed be solved by actual operation,

The explanation in the

issue isJust pass -fs to your install arguments. brew install example -fs. It'll skip the bottle block entirely.
But I didn't figure it out. Adding the -fs parameter means skipping the bottle block` ? What is `bottle block`?

Reply content:

Because I want to install mcrypt, I use brew install php56-mcrypt, but after the installation, I check that mcrypt is not loaded in phpinfo(). I persist and find: What is the usage of -fs in brew install example -fs and what is bottle block?

The installed php has debug mode turned on, but mcrypt does not. I found an issue on github:
https://github.com/Homebrew/h...
Use brew install php56-mcrypt -fs to solve it , it can indeed be solved by actual operation,

The explanation in the

issue isJust pass -fs to your install arguments. brew install example -fs. It'll skip the bottle block entirely.
But I didn't figure it out. Adding the -fs parameter means skipping the bottle block` ? What is `bottle block`?

bottle block refers to the bottle code block, which is the code used by brew to directly download the binary package for installation. Adding -fs means --build-from-source, which means compiling and installing from source code

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn