Home >Backend Development >PHP Tutorial >mysql - How to install a lower version of php5.5.12 on mac?
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?
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