かなりあっさり出来たけど、一応メモを残しておきますか。 1. Smartyのサイトからファイルをダウンロード。 2. 自分のホームディレクトリで展開 $ tar xvzf Smarty-2.6.18.tar.gz 3. xamppのlibディレクトリの中に置く $ mv Smarty-2.6.18 Smarty $ mv Smarty/ /Applications/xampp/xamppfiles/lib/php 4. これでほぼ終了。テストコードを動かしてみる。まずTestSmarty.phpという名前のphp作る。 <?php require_once("Smarty/libs/Smarty.class.php"); class TestSmarty extends Smarty { function TestSmarty () { $this->Smarty(); $mydir =
![XAMPPへのSmartyのインストール - シン石丸の電脳芸事ニッキ](https://cdn-ak-scissors.b.st-hatena.com/image/square/bb005196ed8e93c89607dabed2d09ccbc4885eef/height=288;version=1;width=512/http%3A%2F%2Fshin-ishimaru.cocolog-nifty.com%2F.shared-pleasy%2Fnifty_managed%2Fimages%2Fweb%2Fogp%2Fdefault.png)