Re: [SMARTY] Smarty installation problem
| From: | C Remoshan Fernando | Date: | Thu, 09 Nov 2006 13:27:57 +0000 |
| Subject: | Re: [SMARTY] Smarty installation problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13563@lists.php.net to get a copy of this message | ||
Hi Rakesh,
you need to give write permission for directory 'templates_c'
since it compiles all the 'tpl' files into 'php' file and tries to write into 'templates_c' directory
give these commands:
cd /home/rakesh/public_html/Smarty/
sudo chmod 777 templates_c
Regards,
Remo Fernando
Rakesh Mishra wrote:
hello every body I am trying to install Smarty-2.6.14 on my FC5 machine. i am using PHP5 and apache2 and use my home dir for web hosting I am geting following error: - *Fatal error*: Smarty error: unable to write to $compile_dir '/home/rakesh/public_html/Smarty/templates_c'. Be sure $compile_dir is writable by the web server user. in * /usr/local/lib/php/Smarty/Smarty.class.php* on line *1095 can any body hellp me out with regard rakesh *