2013.09.17 Tuesday
一定期間更新がないため広告を表示しています
- - -
是非とも見なかったことに…
|
$ brew install mcrypt次に Lion の php のバージョンにあった php のソースを拾い、拡張モジュール用ディレクトリに移動します。
$ curl --location -s http://nl3.php.net/get/php-5.3.15.tar.gz/from/nl1.php.net/mirror | tar -zx $ cd php-5.3.15/ext/mcrypt/そしてコンパイルとインストールをします。
$ phpize $ ./configure $ make -j6 $ make test $ sudo make install $ sudo vi /etc/php.ini extension=mcrypt.so $ sudo apachectl restart確認
$ php -i | grep -i mcrypt mcrypt support => enabled という行があればおk
| Log in | RSS1.0 | Atom0.3 | (C) 2024 ブログ JUGEM Some Rights Reserved. |