Created
December 17, 2018 08:34
-
-
Save koriym/ad5db1e6b128d45c3d44bf697db40aa4 to your computer and use it in GitHub Desktop.
macOS MojaveでLiip PHPのインストール ref: https://qiita.com/koriym/items/7c1b42338586c495089f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apachectl stop` | |
sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install httpd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
which apachectl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apachectl -k start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo brew services start httpd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WARNING] | |
Detected macOS Mojave 10.14. There are serious issues with it, due to the original apache not loading | |
foreign libraries anymore. PHP within apache will most certainly not work anymore if you proceed! | |
The cli version still will. | |
See this issue at https://github.com/liip/php-osx/issues/249 for details and discussion | |
**** | |
Restart this script with | |
curl -s https://php-osx.liip.ch/install.sh | bash -s force 7.2 | |
to really install it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://php-osx.liip.ch/install.sh | bash -s force 7.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php -v | |
PHP 7.2.9 (cli) (built: Aug 21 2018 07:42:00) ( NTS ) | |
Copyright (c) 1997-2018 The PHP Group | |
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies | |
with Zend OPcache v7.2.9, Copyright (c) 1999-2018, by Zend Technologies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment