RE: [SMARTY] Re: smarty in Windows XP
| From: | ashley etchell :: Mtracking | Date: | Wed, 13 Apr 2005 15:09:57 +0000 |
| Subject: | RE: [SMARTY] Re: smarty in Windows XP | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12480@lists.php.net to get a copy of this message | ||
Slightly OT but I use NuSphere TechPlatform for Windows for all development,
it comes with its own installer. I also use smarty on windows along with a
lot of PEAR classes, all with no trouble...
Regards
Ash
-----Original Message-----
From: Jochem Maas [mailto:jochem@iamjochem.com]
Sent: 13 April 2005 15:58
To: HarryG
Cc: smarty-general@lists.php.net
Subject: Re: [SMARTY] Re: smarty in Windows XP
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
>>
>
>
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php