Re: [SMARTY] Re: smarty in Windows XP
| From: | Jochem Maas | Date: | Wed, 13 Apr 2005 14:57:40 +0000 |
| Subject: | Re: [SMARTY] Re: smarty in Windows XP | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12478@lists.php.net to get a copy of this message | ||
HarryG wrote:
Search on Google for PHP APACHE on Windows. There are many step by step tutorials. Regarding smarty installation, it's pretty easy all you have to do is extract the files and setup some write permissions for you IIS user. But for your case i don't think that will be required as u wanna use apache.lets assume that Supriatna is using WinXPHome, if thats the case then there are no permissions to deal with (they have been neutered - it encourages people to waste their money on WinXPPro [which comes with added false sense of security]). just to be clear: Smarty needs write permissions somewhere because it creates compiled versions of your templates and needs to store them somewhere, Smarty also has the ability to cache output - in which case it needs write permissions for that also, checkout the $smarty member variables: $smarty->compile_dir $smarty->cache_dir like someone else mentioned, many people write wrapper classes for Smarty (i.e. a subclass) that do all the configuration 'automatically' - this is a neat way of encapsulating your personal settings for Smarty!
"Supriatna" <supriatna@tigaraksa.co.id> wrote in message news:LGEEJMDCJFAJKJHIKCJCAEAHCEAA.supriatna@tigaraksa.co.id...I new working Smarty and I had install php, apache in my pc any body can give me step by step to install and using smarty in XP. thanks supriatna