For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > April 2005 > Re: [SMARTY] Re: smarty in Windows XP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] Re: smarty in Windows XP
Jochem Maas

2005-04-13, 4:00 pm

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...
>
>
>


ashley etchell :: Mtracking

2005-04-13, 4:00 pm

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...
>
>
>



--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com