Home  >  Article  >  Backend Development  >  mysql - How to install a lower version of php5.5.12 on mac?

mysql - How to install a lower version of php5.5.12 on mac?

WBOY
WBOYOriginal
2016-07-06 13:51:461191browse

Because the company needs to use php5.5.12, my computer is a mac, and I can’t find the corresponding mac php version online, so how do I install it?

Reply content:

Because the company needs to use php5.5.12, my computer is a mac, and I can’t find the corresponding mac php version online, so how do I install it?

Download the source code, compile and install

The poster can download MAMP PRO. This software has a MAC version, which can support PHP version switching. I don’t know if the minimum version 5.1.6 meets your requirements. There is also the compilation and installation mentioned above

<code>brew install homebrew/php/php55</code>

Just use homebrew to install php55. There will indeed be differences in the small version of 5.5.*, but it will not be huge, so you can use it with confidence.
If you must choose a specific version of php5.5.12, you may have to compile and install it yourself

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