- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2017-03-08T23:43:35+09:00","default:wikiwriter","wikiwriter")
#author("2017-03-17T19:26:50+09:00","default:wikiwriter","wikiwriter")
&tag(Homebrew/php56);
*目次 [#n7690eab]
#contents
*関連ページ [#k57005b2]
-[[Homebrew]]
*参考情報 [#off5d6b0]
*インストール [#qce69270]
-以下の手順でインストール
#pre{{
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install php56 --with-mysql --with-homebrew-apxs
}}
-GD関連もインストールする場合以下
brew install freetype jpeg libpng gd zlib
*設定 [#k5bac643]
-httpd.confを変数
#pre{{
LoadModule php5_module /usr/local/Cellar/php56/5.6.29_5/libexec/apache2/libphp5.so
<IfModule php5_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>
}}